Skip to content

Commit 1baf984

Browse files
committed
Style workspace version dialog with dark theme
Apply the same dark theme styling used for the workspace selection dialog to the "Older/Newer Workspace Version" dialog. This ensures the version warning dialog is rendered consistently when the user's preferred theme is dark.
1 parent 391dafc commit 1baf984

File tree

1 file changed

+9
-0
lines changed
  • bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application

1 file changed

+9
-0
lines changed

bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,15 @@ protected Shell getParentShell() {
691691
// in the task manager of the OS
692692
return null;
693693
}
694+
695+
@Override
696+
protected Control createContents(Composite parent) {
697+
Control contents = super.createContents(parent);
698+
if (isDark) {
699+
applyDarkStyles(getShell());
700+
}
701+
return contents;
702+
}
694703
};
695704
// hide splash if any
696705
hideSplash(shell);

0 commit comments

Comments
 (0)