Skip to content

Commit

Permalink
Proper styling of custom stage when native.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Oct 18, 2023
1 parent 76f12c8 commit ea86fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
-fx-alignment: center-left;
}

.custom-stage .title-bar.native > .front-box {
-fx-padding: 15;
-fx-alignment: center;
.custom-stage .title-bar.native {
-fx-border-color: white;
-fx-border-width: 1px 0px 0px 0px;
}

.custom-stage .title-bar.native > .navigation-view {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ public static boolean isUnknown() {
}

public static boolean isNative() {
if (true) {
return true;
}
return PlatformUtils.isIOS() || PlatformUtils.isAndroid();
}

}

0 comments on commit ea86fad

Please sign in to comment.