1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

Help: Convert to GML and propagate more errors

Converts Help's layout to GML, propagates model and icon creation
errors, and switches to the MainWidget-namespace organization
pattern seen in more up-to-date apps like TextEditor to make things
easier to maintain going forward.
This commit is contained in:
thankyouverycool 2022-02-28 11:05:35 -05:00 committed by Andreas Kling
parent 6879465725
commit 8825abe7ed
6 changed files with 439 additions and 320 deletions

View file

@ -0,0 +1,50 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
}
@GUI::ToolbarContainer {
@GUI::Toolbar {
name: "toolbar"
}
}
@GUI::HorizontalSplitter {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@GUI::TabWidget {
name: "tab_widget"
fixed_width: 200
container_margins: [6]
@GUI::TreeView {
name: "browse_view"
}
@GUI::Widget {
name: "search_container"
layout: @GUI::VerticalBoxLayout {}
@GUI::TextBox {
name: "search_box"
placeholder: "Search"
}
@GUI::ListView {
name: "search_view"
}
}
}
@Web::OutOfProcessWebView {
name: "web_view"
}
}
@GUI::Statusbar {
name: "statusbar"
}
}