diff --git a/plugins/ui/src/js/src/widget/WidgetUtils.tsx b/plugins/ui/src/js/src/widget/WidgetUtils.tsx index 09c4b77ec..2870cb9a7 100644 --- a/plugins/ui/src/js/src/widget/WidgetUtils.tsx +++ b/plugins/ui/src/js/src/widget/WidgetUtils.tsx @@ -78,6 +78,7 @@ const shouldWrapTextChildren = new Set([ ELEMENT_NAME.flex, ELEMENT_NAME.grid, ELEMENT_NAME.view, + ELEMENT_NAME.toggleButton, ]); const log = Log.module('@deephaven/js-plugin-ui/WidgetUtils');