commit | b73ff14f4765d826c26db961abf7d716c93ab8d2 | [log] [tgz] |
---|---|---|
author | Brian de Alwis <bsd@mt.ca> | Fri May 26 12:05:38 2017 -0400 |
committer | Brian de Alwis <bsd@mt.ca> | Fri May 26 12:05:38 2017 -0400 |
tree | 2d69179042561a16afdd7a8e1a4c5d376fa94974 | |
parent | fda22eb8ec85b81583d5f31158bd817183d83d9c [diff] |
Bug 512296 - "User Storage Service" preference page doesn't respect Dialog Font Change-Id: I9e606bf7b2dab93eef9ebfafc1016c0a6aa56252
diff --git a/org.eclipse.userstorage.oauth/src/org/eclipse/userstorage/internal/oauth/ui/OAuthAccountsPreferencePage.java b/org.eclipse.userstorage.oauth/src/org/eclipse/userstorage/internal/oauth/ui/OAuthAccountsPreferencePage.java index 5179b31..3983705 100644 --- a/org.eclipse.userstorage.oauth/src/org/eclipse/userstorage/internal/oauth/ui/OAuthAccountsPreferencePage.java +++ b/org.eclipse.userstorage.oauth/src/org/eclipse/userstorage/internal/oauth/ui/OAuthAccountsPreferencePage.java
@@ -149,6 +149,8 @@ tableViewer.setInput(accounts); discardButton.setEnabled(false); // since no accounts are selected GridLayoutFactory.fillDefaults().numColumns(2).generateLayout(container); + + applyDialogFont(container); return container; }
diff --git a/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/OverviewPreferencePage.java b/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/OverviewPreferencePage.java index 99ab3bf..82af949 100644 --- a/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/OverviewPreferencePage.java +++ b/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/OverviewPreferencePage.java
@@ -28,9 +28,12 @@ + "user-specific project information on the Eclipse Foundation servers. " + "The USS does not hold private or confidential data."); //@formatter:on + // cause the label to wrap and reflow GridDataFactory.fillDefaults().grab(true, true).hint(1, 1).applyTo(label); GridLayoutFactory.swtDefaults().applyTo(container); + + applyDialogFont(container); return container; } }
diff --git a/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/ServicesPreferencePage.java b/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/ServicesPreferencePage.java index a154ae2..5a3723d 100644 --- a/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/ServicesPreferencePage.java +++ b/org.eclipse.userstorage.ui/src/org/eclipse/userstorage/ui/internal/ServicesPreferencePage.java
@@ -297,6 +297,7 @@ }); } + applyDialogFont(mainArea); return mainArea; }