summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-04 18:32:05 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-04 18:33:03 +0100
commitfa88a265546c04681d7c9bb0eb2bb27b657fbd83 (patch)
treeefc7293cf5cda77f57c14b10f9755118faf8581f /Applications
parent5db34848fec117e7c80ab67ae6c3b619a7a54477 (diff)
downloadserenity-fa88a265546c04681d7c9bb0eb2bb27b657fbd83.zip
Spreadsheet: Simplify conditional formatting property tab GML
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Spreadsheet/CondView.gml21
1 files changed, 6 insertions, 15 deletions
diff --git a/Applications/Spreadsheet/CondView.gml b/Applications/Spreadsheet/CondView.gml
index 45ea4f85e3..d2161da89f 100644
--- a/Applications/Spreadsheet/CondView.gml
+++ b/Applications/Spreadsheet/CondView.gml
@@ -1,19 +1,16 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
- spacing: 2
}
@GUI::Widget {
+ shrink_to_fit: true
+
layout: @GUI::HorizontalBoxLayout {
- spacing: 10
}
- fixed_height: 25
-
@GUI::Label {
text: "if..."
fixed_width: 40
- fixed_height: 25
}
@GUI::TextEditor {
@@ -24,40 +21,34 @@
}
@GUI::Widget {
+ shrink_to_fit: true
+
layout: @GUI::HorizontalBoxLayout {
- spacing: 10
}
- fixed_height: 25
-
@GUI::Label {
text: "Foreground..."
fixed_width: 150
- fixed_height: 25
}
@GUI::ColorInput {
name: "foreground_input"
- fixed_height: 25
}
}
@GUI::Widget {
+ shrink_to_fit: true
+
layout: @GUI::HorizontalBoxLayout {
- spacing: 10
}
- fixed_height: 25
-
@GUI::Label {
text: "Background..."
fixed_width: 150
- fixed_height: 25
}
@GUI::ColorInput {
name: "background_input"
- fixed_height: 25
}
}
}