Commit fa193e6
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 fa193e6
File tree
1 file changed
+8
-1
lines changed- bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
290 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
291 | 298 | | |
292 | 299 | | |
293 | 300 | | |
| |||
0 commit comments