Skip to content

Commit

Permalink
Change left side menu options to be vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
Coffee-Nerd committed Apr 3, 2024
1 parent 47c0ed4 commit be23004
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/settings_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl SettingsWindow {
.show(ctx, |ui| {
ui.horizontal(|ui| {
// Side panel equivalent for selecting categories
ScrollArea::vertical().show(ui, |ui| {
ui.vertical(|ui| {
ui.selectable_value(
&mut self.selected_category,
SettingsCategory::Style,
Expand All @@ -48,7 +48,6 @@ impl SettingsWindow {
SettingsCategory::Appearance,
"Appearance",
);
// Add selectable values for other categories...
});

ui.separator();
Expand Down

0 comments on commit be23004

Please sign in to comment.