summaryrefslogtreecommitdiff
path: root/Userland/Applications/Run/Run.gml
diff options
context:
space:
mode:
authorNick Vella <nick@nxk.io>2021-01-13 23:10:00 +1100
committerAndreas Kling <kling@serenityos.org>2021-01-16 09:05:01 +0100
commit40083444a0f3c2d3a8834eec8696f54eebf10935 (patch)
tree8d750ed412dbbcf5dd398a0ba6e9cdd827dd32e5 /Userland/Applications/Run/Run.gml
parent6536a9c79ab1bbff747e5cfb009b08626b4fabc3 (diff)
downloadserenity-40083444a0f3c2d3a8834eec8696f54eebf10935.zip
Run: initial implementation of Run app
Diffstat (limited to 'Userland/Applications/Run/Run.gml')
-rw-r--r--Userland/Applications/Run/Run.gml65
1 files changed, 65 insertions, 0 deletions
diff --git a/Userland/Applications/Run/Run.gml b/Userland/Applications/Run/Run.gml
new file mode 100644
index 0000000000..798293103f
--- /dev/null
+++ b/Userland/Applications/Run/Run.gml
@@ -0,0 +1,65 @@
+@GUI::Widget {
+ fill_with_background_color: true
+
+ layout: @GUI::VerticalBoxLayout {
+ margins: [10, 10, 10, 10]
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 10
+ }
+
+ @GUI::ImageWidget {
+ name: "icon"
+ }
+
+ @GUI::Label {
+ name: "info"
+ text: "Type the name of a program, folder, document,\\nor website, and SerenityOS will open it for you."
+ text_alignment: "CenterLeft"
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Open:"
+ fixed_width: 50
+ text_alignment: "CenterLeft"
+ }
+
+ @GUI::TextBox {
+ name: "path"
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ // HACK: using an empty widget as a spacer
+ @GUI::Widget {
+ }
+
+ @GUI::Button {
+ name: "ok_button"
+ text: "OK"
+ fixed_width: 75
+ }
+
+ @GUI::Button {
+ name: "cancel_button"
+ text: "Cancel"
+ fixed_width: 75
+ }
+
+ @GUI::Button {
+ name: "browse_button"
+ text: "Browse..."
+ fixed_width: 75
+ }
+ }
+}