aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/basicTests/5.crow
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-14 03:45:57 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-14 03:45:57 +0200
commit854f2f732acc4c1d9fa4126962149cae14f4d4e9 (patch)
treeb9ed25c54bf261b6e22c755db86811a6ee12836f /Tests/Interfaces/basicTests/5.crow
parent4f1128a8001b90e1d163056ef66763bc3b7b8576 (diff)
* 0.crow, 1.crow, 2.crow, 5.crow, 7.crow:
tests * GraphicObject.cs: enabled, code clean and naming conventions * Label.cs, TextBox.cs: debug * Interface.cs: keyboard repeat
Diffstat (limited to 'Tests/Interfaces/basicTests/5.crow')
-rwxr-xr-xTests/Interfaces/basicTests/5.crow40
1 files changed, 31 insertions, 9 deletions
diff --git a/Tests/Interfaces/basicTests/5.crow b/Tests/Interfaces/basicTests/5.crow
index 4922474a..356f50e6 100755
--- a/Tests/Interfaces/basicTests/5.crow
+++ b/Tests/Interfaces/basicTests/5.crow
@@ -1,10 +1,32 @@
<?xml version="1.0"?>
-<HorizontalStack Width="Stretched" Height="Fit" Margin="5" Background="Mantis">
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
- <GraphicObject Background="Carmine" Width="Stretched" Height="20"/>
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
- <GraphicObject Background="Carmine" Width="10%" Height="20"/>
-</HorizontalStack>
+<Window Width="50%" Height="50%">
+ <VerticalStack>
+ <ListBox Data="{TestList}">
+ <Template>
+ <Border BorderWidth="1" Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+ <HorizontalStack Margin="1" Height="{./HeightPolicy}" Width="{./WidthPolicy}" >
+ <Scroller Name="scroller1" Height="{./HeightPolicy}" Width="{./WidthPolicy}"
+ Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
+ ValueChanged="../../../_scroller_ValueChanged">
+ <Wrapper Width="{./WidthPolicy}" Height="Fit" MinimumSize="10,10"
+ Name="List" Margin="0"
+ VerticalAlignment="Top"
+ HorizontalAlignment="Left"
+ LayoutChanged="./_list_LayoutChanged"/>
+ </Scroller>
+ <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
+ Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
+ Width="14" Height="{./HeightPolicy}" />
+ </HorizontalStack>
+ </Border>
+ </Template>
+ <ItemTemplate>
+ <GraphicObject Height="4" Width="4" Background="{}" Margin="0" CornerRadius="1"/>
+ </ItemTemplate>
+ </ListBox>
+ <HorizontalStack Fit="true" HorizontalAlignment="Right">
+ <Button Caption="Load" MouseClick="OnLoadList"/>
+ <Button Caption="Clear" MouseClick="OnClear"/>
+ </HorizontalStack>
+ </VerticalStack>
+</Window> \ No newline at end of file