aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-06-07 15:05:30 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-06-07 15:05:30 +0200
commit263de03914a3de5d55c4508c322e32d36caf2a87 (patch)
treec279464365fd7683744fa59d01b242e4b3ab17b9 /Samples/common/ui/Interfaces
parentf738cf0f78c57750cce8fd5744825b0591f24bb8 (diff)
suggestion in IML editor, editor base classe for ShowCase and LogAnalyzerSimplifiedTabView
Diffstat (limited to 'Samples/common/ui/Interfaces')
-rw-r--r--Samples/common/ui/Interfaces/Experimental/DockWindow.template39
-rw-r--r--Samples/common/ui/Interfaces/Experimental/multiColorPick.crow2
-rw-r--r--Samples/common/ui/Interfaces/Wrapper/1.1.crow2
3 files changed, 2 insertions, 41 deletions
diff --git a/Samples/common/ui/Interfaces/Experimental/DockWindow.template b/Samples/common/ui/Interfaces/Experimental/DockWindow.template
deleted file mode 100644
index 6c91312b..00000000
--- a/Samples/common/ui/Interfaces/Experimental/DockWindow.template
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0"?>
-<!--<Widget Background="{./Background}"/>-->
-<Border BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}"
- Background="{./Background}"
- MouseEnter="./onBorderMouseEnter"
- MouseLeave="./onBorderMouseLeave">
- <VerticalStack Spacing="0">
- <HorizontalStack Height="Fit">
- <Label Text="{./Name}" TextAlignment="Left" Width="Fit"
- Foreground="White" />
- <Label Text="{./DockingPosition}" TextAlignment="Left" Width="Fit"
- Foreground="White" />
- </HorizontalStack>
- <Label Text="{./Width}" TextAlignment="Left" Width="Fit"
- Foreground="White" />
- <Label Text="{./Height}" TextAlignment="Left" Width="Fit"
- Foreground="White" />
-
- <HorizontalStack Visible="{./IsDocked}" Height="Fit" Margin="1" Background="Grey">
- <Label Text="{./Caption}" TextAlignment="Left" Width="Stretched"
- Foreground="Jet" />
- <Image Width="8" Height="8" Focusable="true" Margin="0" Path="#Crow.Icons.exit2.svg"
- MouseClick="./butQuitPress"/>
- </HorizontalStack>
- <HorizontalStack Background="vgradient|0:0.5,0.6,0.5,0.5|1:0.2,0.3,0.3,0.7"
- Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}">
- <Widget Width="5"/>
- <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/>
- <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./Caption}" />
- <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="10" Width="10"
- MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
- <Image Focusable="true" Name="Image" Margin="0" Path="#Crow.Icons.exit2.svg"
- MouseClick="./butQuitPress"/>
- </Border>
- <Widget Width="5"/>
- </HorizontalStack>
- <Container Name="Content" MinimumSize="50,50"/>
- </VerticalStack>
-</Border>
diff --git a/Samples/common/ui/Interfaces/Experimental/multiColorPick.crow b/Samples/common/ui/Interfaces/Experimental/multiColorPick.crow
index 5b01c069..e30dd7ae 100644
--- a/Samples/common/ui/Interfaces/Experimental/multiColorPick.crow
+++ b/Samples/common/ui/Interfaces/Experimental/multiColorPick.crow
@@ -19,7 +19,7 @@
</ColorPicker>
</Template>
</ColorPicker>
- <Border CornerRadius="5" Width="60" Height="40" Background="{../cp.CurrentColor}">
+ <Border CornerRadius="5" Margin="10" Width="Fit" Height="40" Background="{../cp.CurrentColor}">
<Label Text="{../../cp.CurrentColor}"/>
</Border>
</VerticalStack> \ No newline at end of file
diff --git a/Samples/common/ui/Interfaces/Wrapper/1.1.crow b/Samples/common/ui/Interfaces/Wrapper/1.1.crow
index e51cf308..6afbff21 100644
--- a/Samples/common/ui/Interfaces/Wrapper/1.1.crow
+++ b/Samples/common/ui/Interfaces/Wrapper/1.1.crow
@@ -8,7 +8,7 @@
<Widget Width="50%" Height="50" Background="SeaGreen"/>
<Widget Width="50" Height="50" Background="SeaGreen"/>
<Widget Width="50" Height="50" Background="SeaGreen"/>
- <Widget Width="50" Height="50%" Background="SeaGreen"/>
+ <Widget Width="50%" Height="50" Background="SeaGreen"/>
<Widget Width="50" Height="50" Background="SeaGreen"/>
</Wrapper>
</Window> \ No newline at end of file