Commit 1cdde6d
committed
Workaround for unexpected text wrapping
This commit adds one additional point to the width when calculating the
minimum size of the textLabel in ExpandableComposite. This serves as a
workaround for a current limitation in the SWT implementation on Windows.
With certain zoom settings (e.g., 125% or 175%), depending on the length
of the label text, the calculated width may be too small, causing the
text to wrap unnecessarily. This is intended as a temporary workaround.
Contributes to #29801 parent 208faf9 commit 1cdde6d
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments