summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/CondView.gml
blob: 41a0cdcc7f9005755d8cd0606bf54444c602a332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout {}
    preferred_height: "fit"

    @GUI::Widget {
        preferred_height: "fit"
        layout: @GUI::HorizontalBoxLayout {}

        @GUI::Label {
            text: "if..."
            fixed_width: 40
        }

        @GUI::TextEditor {
            name: "formula_editor"
            fixed_height: 32
            tooltip: "Use 'value' to refer to the current cell's value"
            font_type: "FixedWidth"
        }
    }

    @GUI::Widget {
        preferred_height: "fit"
        layout: @GUI::HorizontalBoxLayout {}

        @GUI::Label {
            text: "Foreground..."
            fixed_width: 150
        }

        @GUI::ColorInput {
            name: "foreground_input"
        }
    }

    @GUI::Widget {
        preferred_height: "fit"
        layout: @GUI::HorizontalBoxLayout {}

        @GUI::Label {
            text: "Background..."
            fixed_width: 150
        }

        @GUI::ColorInput {
            name: "background_input"
        }
    }
}