aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common')
-rw-r--r--Samples/common/samples.style3
-rw-r--r--Samples/common/ui/Interfaces/Divers/2.crow5
-rw-r--r--Samples/common/ui/Interfaces/Experimental/testDock.crow10
-rw-r--r--Samples/common/ui/Interfaces/Experimental/testStack.crow2
4 files changed, 12 insertions, 8 deletions
diff --git a/Samples/common/samples.style b/Samples/common/samples.style
index 124cfcf4..50f91f4a 100644
--- a/Samples/common/samples.style
+++ b/Samples/common/samples.style
@@ -66,4 +66,7 @@ valignStyle2 {
Unchecked = "{Background=Black}";
//Initialized="GetDrawModeIcon";
//Initialized="{Background=Blue}";
+}
+smallLabel {
+ Font="consolas, 8";
} \ No newline at end of file
diff --git a/Samples/common/ui/Interfaces/Divers/2.crow b/Samples/common/ui/Interfaces/Divers/2.crow
index b4a06b68..d2c8c370 100644
--- a/Samples/common/ui/Interfaces/Divers/2.crow
+++ b/Samples/common/ui/Interfaces/Divers/2.crow
@@ -2,12 +2,13 @@
<VerticalStack Fit="true">
<TextBox Font="droid, 20" Text="test text box" Width="Stretched"/>
<HorizontalStack Margin="5" Fit="true" MouseEnter="{Background=White}" MouseLeave="{Background=Transparent}">
+ <Label Text="left" Width="80" Height="30" Background="DarkBlue" TextAlignment="Left"/>
<Label Text="centered" Width="80" Height="30" Background="DarkBlue" TextAlignment="Center"/>
<Label Text="top left" Width="80" Height="30" Background="DarkBlue" TextAlignment="TopLeft"/>
<Label Text="top right" Width="80" Height="30" Background="DarkBlue" TextAlignment="TopRight"/>
- <Label Text="right center" Width="80" Height="30" Background="DarkBlue" TextAlignment="Right"/>
+ <Label Text="right" Width="80" Height="30" Background="DarkBlue" TextAlignment="Right"/>
<Label Text="bottom left" Width="80" Height="30" Background="DarkBlue" TextAlignment="BottomLeft"/>
- <Label Text="bottom center" Width="80" Height="30" Background="DarkBlue" TextAlignment="Bottom"/>
+ <Label Text="bottom" Width="80" Height="30" Background="DarkBlue" TextAlignment="Bottom"/>
<Label Text="bottom right" Width="80" Height="30" Background="DarkBlue" TextAlignment="BottomRight"/>
</HorizontalStack>
</VerticalStack> \ No newline at end of file
diff --git a/Samples/common/ui/Interfaces/Experimental/testDock.crow b/Samples/common/ui/Interfaces/Experimental/testDock.crow
index b69f8e78..14659f88 100644
--- a/Samples/common/ui/Interfaces/Experimental/testDock.crow
+++ b/Samples/common/ui/Interfaces/Experimental/testDock.crow
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
-<Window Width="Stretched" Height="Stretched" Background="Jet">
- <DockStack Name="mainDock" Background="DarkRed" Margin="20">
- </DockStack>
-</Window>
+<DockStack Name="mainDock" Background="Jet" Margin="0">
+ <DockWindow Resizable = "true" Top="100" Left="100" Caption="View 1" Width="300" Height="300"/>
+</DockStack>
+
<!---
<DockWindow Left="450" Top="450" Width="150" Height="150" Background="Yellow"/>-->
@@ -14,7 +14,7 @@
<Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></Window>
</Group>-->
<!--<Docker >
- <DockWindow Resizable = "true" Top="100" Left="100" Caption="View 1" Width="300" Height="300">
+
<VerticalStack Background="DarkGreen" Focusable="true">
<Label Text="{../../Left}" Background="Black" Width="Stretched"/>
<Label Text="{../../Top}" Background="Black"/>
diff --git a/Samples/common/ui/Interfaces/Experimental/testStack.crow b/Samples/common/ui/Interfaces/Experimental/testStack.crow
index 0348f0b5..97bbe62b 100644
--- a/Samples/common/ui/Interfaces/Experimental/testStack.crow
+++ b/Samples/common/ui/Interfaces/Experimental/testStack.crow
@@ -6,7 +6,7 @@
<HorizontalStack>
<Widget Height="Stretched" Width="100" Background="Red"/>
<Splitter/>
- <Widget Height="Stretched" Width="100" Background="DarkRed"/>
+ <Widget Height="Stretched" Width="Stretched" Background="DarkRed"/>
</HorizontalStack>
<Splitter/>
<Widget Height="100" Width="500" Background="Green"/>