aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples
diff options
context:
space:
mode:
Diffstat (limited to 'Samples')
-rw-r--r--Samples/common/ui/Interfaces/Divers/all.crow43
-rw-r--r--Samples/common/ui/templates/colorItem2.crow2
2 files changed, 29 insertions, 16 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/all.crow b/Samples/common/ui/Interfaces/Divers/all.crow
index e553e023..bb390def 100644
--- a/Samples/common/ui/Interfaces/Divers/all.crow
+++ b/Samples/common/ui/Interfaces/Divers/all.crow
@@ -1,18 +1,31 @@
<?xml version="1.0"?>
-<VerticalStack Name="TopContainer" Margin="100" Background="DarkGrey" Spacing="10">
- <VerticalStack Width="200" Height="Fit" Spacing="5">
- <Label/>
- <TextBox />
- <Button />
- <CheckBox />
- <RadioButton/>
- <Spinner/>
- <Slider />
- <Popper />
- <Expandable />
- </VerticalStack>
-
- <Widget Width="200" Height="20" Background="Teal"/>
+<VerticalStack Name="TopContainer" Margin="10" Background="DarkGrey" Spacing="10">
+ <HorizontalStack Height="Fit" >
+ <VerticalStack Width="200" Height="Fit" Spacing="0">
+ <Label/>
+ <TextBox />
+ <Button />
+ <CheckBox />
+ <RadioButton/>
+ <Spinner/>
+ <Slider />
+ <Popper />
+ <Expandable />
+ <ScrollBar Style="HScrollBar"/>
+ </VerticalStack>
+ <VerticalStack Width="200" Height="Fit" Spacing="0">
+ <Slider Name="margin" Background="DarkSlateGrey" Foreground="Black" />
+ <Label Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}" />
+ <TextBox Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}"/>
+ <Button Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}" />
+ <CheckBox Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}"/>
+ <RadioButton Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}"/>
+ <Spinner Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}" />
+ <Popper Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}" />
+ <Expandable Background="DarkSlateGrey" Foreground="Black" Margin="{../margin.Value}"/>
+ </VerticalStack>
+ </HorizontalStack>
+<!-- <Widget Width="200" Height="20" Background="Teal"/>
<Widget Width="200" Height="20" Background="SeaGreen"/>
<Widget Width="200" Height="20" Background="MediumSeaGreen"/>
<Widget Width="200" Height="20" Background="DarkSlateGrey"/>
@@ -20,5 +33,5 @@
<Widget Width="200" Height="20" Background="SteelBlue"/>
<Widget Width="200" Height="20" Background="CornflowerBlue"/>
<Widget Width="200" Height="20" Background="Brown"/>
- <Widget Width="200" Height="20" Background="FireBrick"/>
+ <Widget Width="200" Height="20" Background="FireBrick"/>-->
</VerticalStack> \ No newline at end of file
diff --git a/Samples/common/ui/templates/colorItem2.crow b/Samples/common/ui/templates/colorItem2.crow
index 83239b32..52966d60 100644
--- a/Samples/common/ui/templates/colorItem2.crow
+++ b/Samples/common/ui/templates/colorItem2.crow
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<Border Foreground="Transparent" Focusable="true" HorizontalAlignment="Left" Height="Fit">
<HorizontalStack Margin="0"
- MouseEnter="{Background=CornflowerBlue}"
+ MouseEnter="{Background=DarkSlateGrey}"
MouseLeave="{Background=Transparent}">
<Widget Height="8" Width="14" Background="{}" Margin="0" CornerRadius="2"/>
<Label Text="{}" Margin="0" Width="Stretched" Font="mono, 8"/>