aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common/ui')
-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
-rwxr-xr-xSamples/common/ui/icons/event.pngbin0 -> 241 bytes
-rwxr-xr-xSamples/common/ui/icons/property.pngbin0 -> 257 bytes
-rw-r--r--Samples/common/ui/templates/Suggestions.template8
6 files changed, 6 insertions, 45 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
diff --git a/Samples/common/ui/icons/event.png b/Samples/common/ui/icons/event.png
new file mode 100755
index 00000000..8a27233f
--- /dev/null
+++ b/Samples/common/ui/icons/event.png
Binary files differ
diff --git a/Samples/common/ui/icons/property.png b/Samples/common/ui/icons/property.png
new file mode 100755
index 00000000..1226c16f
--- /dev/null
+++ b/Samples/common/ui/icons/property.png
Binary files differ
diff --git a/Samples/common/ui/templates/Suggestions.template b/Samples/common/ui/templates/Suggestions.template
index 5a4349d7..8bc55747 100644
--- a/Samples/common/ui/templates/Suggestions.template
+++ b/Samples/common/ui/templates/Suggestions.template
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
-<Border BorderWidth="1" Background="{./Background}" Height="Stretched">
- <!--<HorizontalStack Margin="1">-->
+<Border BorderWidth="1" Background="{./Background}" Height="Stretched" Focusable="false">
+ <HorizontalStack Margin="1">
<Scroller Name="ItemsScroller" Margin="2">
<VerticalStack Height="Fit" MinimumSize="10,10"
Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
</Scroller>
- <!--<ScrollBar Name="scrollbar1" Value="{²../ItemsScroller.ScrollY}"
+ <ScrollBar Name="scrollbar1" Value="{²../ItemsScroller.ScrollY}"
LargeIncrement="{../ItemsScroller.PageHeight}" SmallIncrement="30" CursorSize="{../ItemsScroller.ChildHeightRatio}"
Maximum="{../ItemsScroller.MaxScrollY}" Orientation="Vertical"
Width="12" />
- </HorizontalStack>-->
+ </HorizontalStack>
</Border>