Skip to content

Commit

Permalink
Move notifications settings menu closer to ellipsis menu
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Sep 14, 2024
1 parent 002ce77 commit cb2f514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ protected void configTitleHBox() {
createOfferButton.setMinSize(Button.USE_PREF_SIZE, Button.USE_PREF_SIZE);

HBox.setHgrow(headerTitle, Priority.ALWAYS);
HBox.setMargin(notificationsSettingsMenu, new Insets(0, 0, 0, -5));
titleHBox.getChildren().setAll(headerTitle, createOfferButton, ellipsisMenu, notificationsSettingsMenu);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ protected void configTitleHBox() {
searchBox.setPrefHeight(searchBoxHeight);

HBox.setMargin(channelIcon, new Insets(0, 0, -2, 5));
HBox.setMargin(notificationsSettingsMenu, new Insets(0, 0, 0, -5));
titleHBox.getChildren().addAll(channelIcon, headerTitle, searchBox, ellipsisMenu, notificationsSettingsMenu);
}

Expand Down

0 comments on commit cb2f514

Please sign in to comment.