summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-02-12 19:17:01 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-02-13 02:36:35 +0200
commitc8ab45e79fd5845402c6aaf69890e103036e16ef (patch)
tree6a28508d9d953345d80eb6d4f99cc6f40628bc27 /Userland/Applications/PixelPaint
parent4c451422c35b3c2044d3b005a7af32d18ce9b194 (diff)
downloadserenity-c8ab45e79fd5845402c6aaf69890e103036e16ef.zip
Userland: Run gml-format
This brings the existing GML files up to spec with the new requirements
Diffstat (limited to 'Userland/Applications/PixelPaint')
-rw-r--r--Userland/Applications/PixelPaint/EditGuideDialog.gml6
-rw-r--r--Userland/Applications/PixelPaint/FilterGallery.gml7
-rw-r--r--Userland/Applications/PixelPaint/PixelPaintWindow.gml4
3 files changed, 9 insertions, 8 deletions
diff --git a/Userland/Applications/PixelPaint/EditGuideDialog.gml b/Userland/Applications/PixelPaint/EditGuideDialog.gml
index 222ef1a51b..ea50130045 100644
--- a/Userland/Applications/PixelPaint/EditGuideDialog.gml
+++ b/Userland/Applications/PixelPaint/EditGuideDialog.gml
@@ -1,6 +1,6 @@
@GUI::Frame {
fill_with_background_color: true
- layout: @GUI::VerticalBoxLayout
+ layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
@@ -30,8 +30,8 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4]
}
-
shrink_to_fit: true
+
@GUI::Label {
text: "Offset"
text_alignment: "CenterLeft"
@@ -48,7 +48,7 @@
margins: [4]
}
- @GUI::Widget
+ @GUI::Widget {}
@GUI::Button {
name: "ok_button"
diff --git a/Userland/Applications/PixelPaint/FilterGallery.gml b/Userland/Applications/PixelPaint/FilterGallery.gml
index 93f7607184..470b570617 100644
--- a/Userland/Applications/PixelPaint/FilterGallery.gml
+++ b/Userland/Applications/PixelPaint/FilterGallery.gml
@@ -1,7 +1,7 @@
@GUI::Frame {
- layout: @GUI::VerticalBoxLayout
-
+ layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
+
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
margins: [4]
@@ -22,7 +22,6 @@
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
-
}
@GUI::GroupBox {
@@ -44,7 +43,7 @@
margins: [4]
}
- @GUI::Widget
+ @GUI::Widget {}
@GUI::Button {
name: "apply_button"
diff --git a/Userland/Applications/PixelPaint/PixelPaintWindow.gml b/Userland/Applications/PixelPaint/PixelPaintWindow.gml
index b06b31405a..e7d429de9e 100644
--- a/Userland/Applications/PixelPaint/PixelPaintWindow.gml
+++ b/Userland/Applications/PixelPaint/PixelPaintWindow.gml
@@ -7,6 +7,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
+
@GUI::Toolbar {
name: "toolbar"
}
@@ -19,6 +20,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
+
@PixelPaint::ToolboxWidget {
name: "toolbox"
}
@@ -41,7 +43,7 @@
@GUI::Widget {
fill_with_background_color: true
fixed_width: 200
- layout: @GUI::VerticalBoxLayout
+ layout: @GUI::VerticalBoxLayout {}
@GUI::GroupBox {
title: "Layers"