Community
Participate
Working Groups
Build Identifier: 3.7 When setting the font size to 150% on Windows the initial size of my dialog is slightly off, not all radio buttons are displayed, the last one is always cut off. Note that the number of radio buttons does not care, once a certain number (8 for me) is reached it's always the last one that is not shown correctly Reproducible: Always Steps to Reproduce: 1. Put the attached project in your workspace 2. Fire up the Eclipse SDK including that plug-in 3. Use the Sample menu -> Sample Command and check the dialog
Created attachment 202915 [details] sample project with a dialog demonstrating the issue
Created attachment 202916 [details] screen shot of the sample with 8 radio buttons
Created attachment 202917 [details] screen shot of the same sample, but font size set to 150%
CQ:WIND00254111 Let me know what you think! :) Helmut
(In reply to comment #4) > CQ:WIND00254111 > Let me know what you think! :) > Helmut Can we get a comment from the UI team, can you reproduce the issue? TIA, Ciao, hh
How do you set your windows font to 150%? Is it some basic setting in windows, or one of the eclipse prefs from General>Appearance>Colors and Fonts? PW
Created attachment 207017 [details] Windows 7 configuration dialog In order to increase the font size I used this Windows 7 dialog...
I can reproduce the problem on Windows 7. You don't necessarily need to include the dialog as a plug-in. The code below will reproduce the problem. If you don't use a TitleAreaDialog but instead extend TrayDialog, the problem doesn't occur. ------------------ public class VerySimple extends TitleAreaDialog { public VerySimple() { super(null); } @Override protected Control createDialogArea(Composite parent) { Composite group = new Composite(parent, SWT.NONE); group.setLayout(new GridLayout()); group.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); for (String string : new String[] { "1", "2", "3", "4", "5", "6", "7", "8" }) { Button button = new Button(group, SWT.PUSH); button.setText(string); button.setLayoutData(new GridData(SWT.FILL)); } return parent; } public static void main(String[] args) { Display display = new Display(); VerySimple dialog = new VerySimple(); dialog.open(); display.dispose(); } }
Ultimately, could be an issue with TitleAreaDialog or possibly the SWT layout code.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.