Skip to content

Commit

Permalink
[prmr#538] Darken the menu bar and welcome tab window.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcoding7 committed May 13, 2024
1 parent 22c2ad1 commit 16d9408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/org/jetuml/JetUML.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
{
-fx-background-color: transparent;
-fx-font-size: 17pt;
-fx-text-fill: dimgrey;
-fx-text-fill: white;
}

.welcome-tab-panel .button:hover
{
-fx-text-fill: black;
-fx-text-fill: white;
-fx-font-size: 17pt;
}

Expand Down
4 changes: 3 additions & 1 deletion src/org/jetuml/gui/EditorFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@ public class EditorFrame extends BorderPane
*/
public EditorFrame(Stage pMainStage)
{
aMainStage = pMainStage;
aMainStage = pMainStage;
aRecentFiles.deserialize(Preferences.userNodeForPackage(JetUML.class).get("recent", "").trim());

MenuBar menuBar = new MenuBar();
setTop(menuBar);
menuBar.setStyle("-fx-background-color: #636366FF");

TabPane tabPane = new TabPane();
tabPane.setStyle("-fx-background-color: #3A3A3CFF");
// tabPane.setTabDragPolicy(TabPane.TabDragPolicy.REORDER); // This JavaFX feature is too buggy to use at the moment see issue #455
tabPane.getSelectionModel().selectedItemProperty().addListener((pValue, pOld, pNew) -> setMenuVisibility());
setCenter( tabPane );
Expand Down

0 comments on commit 16d9408

Please sign in to comment.