aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-12-07 12:37:23 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-12-07 12:37:23 +0100
commitf4762349a9956bd7ae4fc11f1e165eafb0d2c444 (patch)
treef7148e8510b18e4a929e80466696b7b79fba7c1f /Samples/common/ui/Interfaces
parenta77e1d7b06d860e040097b72cb9244a45e634e62 (diff)
stickyMouse, dragNdrop + mdiWins debug and teststemp
Diffstat (limited to 'Samples/common/ui/Interfaces')
-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
3 files changed, 9 insertions, 8 deletions
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"/>