We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0d6ffc commit 2cf802aCopy full SHA for 2cf802a
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
@@ -1187,6 +1187,9 @@ void internalLayout (boolean changed) {
1187
int width = rect.width;
1188
int height = rect.height;
1189
Point arrowSize = arrow.computeSize (SWT.DEFAULT, height, changed);
1190
+ // clamp the height of the arrow to the maximum of the client area
1191
+ // https://github.com/eclipse-platform/eclipse.platform.swt/issues/2817
1192
+ arrowSize.y = Math.min(height, arrowSize.y);
1193
text.setBounds (0, 0, width - arrowSize.x, height);
1194
arrow.setBounds (width - arrowSize.x, 0, arrowSize.x, arrowSize.y);
1195
}
0 commit comments