1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:17:46 +00:00

Browser+BrowserSettings: Persist the "show bookmarks bar" setting

Previously this setting was only temporary, but we now save/load it from
the config file.
This commit is contained in:
Sam Atkins 2021-11-24 20:04:43 +00:00 committed by Andreas Kling
parent 8a284be5c7
commit 1933076143
4 changed files with 40 additions and 1 deletions

View file

@ -39,6 +39,36 @@
}
}
@GUI::GroupBox {
title: "Appearance"
fixed_height: 64
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 2
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
@GUI::Label {
fixed_width: 32
}
@GUI::Label {
text: "Show bookmarks:"
text_alignment: "CenterLeft"
fixed_width: 110
}
@GUI::CheckBox {
name: "show_bookmarks_bar_checkbox"
}
}
}
@GUI::GroupBox {
title: "Downloads"
fixed_height: 70