mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:47:34 +00:00
FileManager: Move the main window UI to GML
This was pretty straightforward although it does expose a bunch of missing functionality (mostly properties.)
This commit is contained in:
parent
48b0f4844b
commit
92afdd0c86
3 changed files with 70 additions and 21 deletions
54
Applications/FileManager/FileManagerWindow.gml
Normal file
54
Applications/FileManager/FileManagerWindow.gml
Normal file
|
@ -0,0 +1,54 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
spacing: 2
|
||||
}
|
||||
|
||||
@GUI::ToolBarContainer {
|
||||
@GUI::ToolBar {
|
||||
name: "main_toolbar"
|
||||
}
|
||||
@GUI::ToolBar {
|
||||
name: "location_toolbar"
|
||||
visible: false
|
||||
|
||||
@GUI::Label {
|
||||
name: "location_label"
|
||||
text: "Location: "
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "location_textbox"
|
||||
vertical_size_policy: "Fixed"
|
||||
preferred_height: 22
|
||||
}
|
||||
}
|
||||
@GUI::ToolBar {
|
||||
name: "breadcrumb_toolbar"
|
||||
|
||||
@GUI::BreadcrumbBar {
|
||||
name: "breadcrumb_bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::HorizontalSplitter {
|
||||
name: "splitter"
|
||||
|
||||
@GUI::TreeView {
|
||||
name: "tree_view"
|
||||
horizontal_size_policy: "Fixed"
|
||||
preferred_width: 175
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@GUI::StatusBar {
|
||||
name: "statusbar"
|
||||
|
||||
@GUI::ProgressBar {
|
||||
name: "progressbar"
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue