diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-15 17:00:22 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-15 20:50:24 +0200 |
commit | 9f4e37e3427561670d486cdbdd702738b461c572 (patch) | |
tree | 818d1a490f637ff73a19f5a6d3d8cf8c089b961b /Userland/Applications/Welcome/WelcomeWindow.gml | |
parent | ff312d8aa62976367278519804c1b497e1db1fd1 (diff) | |
download | serenity-9f4e37e3427561670d486cdbdd702738b461c572.zip |
Applications: Rename Serendipity => Welcome
Let's stick to the theme of "the most obvious name possible"
Diffstat (limited to 'Userland/Applications/Welcome/WelcomeWindow.gml')
-rw-r--r-- | Userland/Applications/Welcome/WelcomeWindow.gml | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/Userland/Applications/Welcome/WelcomeWindow.gml b/Userland/Applications/Welcome/WelcomeWindow.gml new file mode 100644 index 0000000000..8e38cf8401 --- /dev/null +++ b/Userland/Applications/Welcome/WelcomeWindow.gml @@ -0,0 +1,120 @@ +@GUI::Widget { + fill_with_background_color: true + layout: @GUI::VerticalBoxLayout { + margins: [8, 8, 8, 8] + } + + @GUI::Widget { + fixed_height: 30 + } + + @GUI::Widget { + min_height: 160 + layout: @GUI::HorizontalBoxLayout + + @GUI::Frame { + name: "tip_frame" + min_width: 340 + min_height: 160 + layout: @GUI::HorizontalBoxLayout { + margins: [0, 0, 16, 0] + } + + @GUI::Widget { + fixed_width: 60 + layout: @GUI::VerticalBoxLayout + + @GUI::Label { + name: "light_bulb_label" + fixed_height: 60 + } + + @GUI::Widget + } + + @GUI::Widget { + layout: @GUI::VerticalBoxLayout + + @GUI::Label { + fixed_height: 60 + name: "did_you_know_label" + text: "Did you know..." + text_alignment: "CenterLeft" + font_size: 12 + font_weight: "Bold" + } + + @GUI::Label { + name: "tip_label" + text_alignment: "TopLeft" + word_wrap: true + font_size: 12 + } + } + } + + @Web::OutOfProcessWebView { + name: "web_view" + min_width: 340 + min_height: 160 + visible: false + } + + @GUI::Widget { + fixed_width: 3 + } + + @GUI::Widget { + name: "navigation_column" + fixed_width: 115 + min_height: 160 + layout: @GUI::VerticalBoxLayout + + @GUI::Button { + name: "new_button" + text: "What's New" + } + + @GUI::Button { + name: "help_button" + text: "Help Contents" + } + + @GUI::Button { + name: "next_button" + text: "Next Tip" + } + + @GUI::Widget + + @GUI::HorizontalSeparator { + fixed_height: 2 + } + } + } + + @GUI::Widget { + fixed_height: 5 + } + + @GUI::Widget { + fixed_height: 24 + layout: @GUI::HorizontalBoxLayout { + } + + @GUI::CheckBox{ + name: "startup_checkbox" + text: "Show this Welcome Screen next time SerenityOS starts" + fixed_width: 315 + } + + @GUI::Widget + + @GUI::Button { + name: "close_button" + text: "Close" + fixed_width: 115 + fixed_height: 24 + } + } +} |