-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect changes of dialog font #13
base: master
Are you sure you want to change the base?
Conversation
b50a940
to
c73fa99
Compare
Bug: 507694
@marchof could you please review? |
@Godin Looks like not all labels in the settings dialog adopt the dialog font: |
@Godin I remember that I had similar problems to capture all font occurrences. Same issue for the select buttons in the coverage dialog: |
@Godin The session name on our properties page: |
@Godin The other dialogs (import, export, merge, select) look good to me though! |
@marchof that's strange - I not just added automated tests, but also tested manually by changing font size significantly, however only on Linux, not on Mac. But never mind - I'll retest/rework. Good catches, thanks! |
@marchof this starts to be interesting 😆 Manual test on Linux using Eclipse Platform (Version: Oxygen (4.7) Build id: I20160915-0230): Will try Mac later... |
Even simply execution of automated UI test confirms problem on Mac. |
fa43847
to
c73fa99
Compare
According to JavaDoc of
so the call is placed correctly at the end. What driving me crazy - removal of @@ -138,7 +138,6 @@ public class CoveragePreferencePage extends FieldEditorPreferencePage
private Group createGroup(final Composite parent, final String text) {
final Group group = new Group(parent, SWT.NONE);
group.setText(text);
- group.setFont(parent.getFont());
GridDataFactory.fillDefaults().applyTo(group);
group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
return group; assuming that this is the place that changes value from default, leads to a really strange result: |
@Godin How should we proceed here? Do we apply a "best effort" fix and hope the platform will fix the problem for Mac? |
@marchof I still plan to make it work properly on OS X. |
No description provided.