We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf51ab commit 0bcf754Copy full SHA for 0bcf754
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
@@ -882,6 +882,7 @@ public void setText (String string) {
882
if (string == null) error (SWT.ERROR_NULL_ARGUMENT);
883
if ((style & SWT.SEPARATOR) != 0) return;
884
if (string.equals (text)) return;
885
+ parent.layout(true);
886
super.setText (string);
887
if ((state & HAS_AUTO_DIRECTION) == 0 || !updateTextDirection (AUTO_TEXT_DIRECTION)) {
888
_setText (string);
0 commit comments