summaryrefslogtreecommitdiff
path: root/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-24 20:04:43 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-26 22:14:56 +0100
commit19330761433ba8bd91918cf047a59973ef17035b (patch)
tree84466198fed76b26e094426a2a15055996f287e8 /Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml
parent8a284be5c72242e847db7bc831ed2752b78fede6 (diff)
downloadserenity-19330761433ba8bd91918cf047a59973ef17035b.zip
Browser+BrowserSettings: Persist the "show bookmarks bar" setting
Previously this setting was only temporary, but we now save/load it from the config file.
Diffstat (limited to 'Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml')
-rw-r--r--Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml30
1 files changed, 30 insertions, 0 deletions
diff --git a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml
index d92a5dbffa..945af63495 100644
--- a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml
+++ b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml
@@ -40,6 +40,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