summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/CondView.gml
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-12 12:05:23 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-12 12:05:23 +0100
commitdc28c07fa526841e05e16161c74a6c23984f1dd5 (patch)
treed68796bc7708eba33fbf7247e1a92188ac5acf6f /Userland/Applications/Spreadsheet/CondView.gml
parentaa939c4b4b8a7eb1d22b166ebb5fb737d6e66714 (diff)
downloadserenity-dc28c07fa526841e05e16161c74a6c23984f1dd5.zip
Applications: Move to Userland/Applications/
Diffstat (limited to 'Userland/Applications/Spreadsheet/CondView.gml')
-rw-r--r--Userland/Applications/Spreadsheet/CondView.gml54
1 files changed, 54 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/CondView.gml b/Userland/Applications/Spreadsheet/CondView.gml
new file mode 100644
index 0000000000..d2161da89f
--- /dev/null
+++ b/Userland/Applications/Spreadsheet/CondView.gml
@@ -0,0 +1,54 @@
+@GUI::Widget {
+ layout: @GUI::VerticalBoxLayout {
+ }
+
+ @GUI::Widget {
+ shrink_to_fit: true
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "if..."
+ fixed_width: 40
+ }
+
+ @GUI::TextEditor {
+ name: "formula_editor"
+ fixed_height: 25
+ tooltip: "Use 'value' to refer to the current cell's value"
+ }
+ }
+
+ @GUI::Widget {
+ shrink_to_fit: true
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Foreground..."
+ fixed_width: 150
+ }
+
+ @GUI::ColorInput {
+ name: "foreground_input"
+ }
+ }
+
+ @GUI::Widget {
+ shrink_to_fit: true
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Background..."
+ fixed_width: 150
+ }
+
+ @GUI::ColorInput {
+ name: "background_input"
+ }
+ }
+}