]> O.S.I.I.S - jp/crow.git/commitdiff
update test
authorjpbruyere <jp.bruyere@hotmail.com>
Tue, 9 Feb 2016 17:49:21 +0000 (18:49 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Tue, 9 Feb 2016 17:49:44 +0000 (18:49 +0100)
Templates/ScrollingListBox.goml
Tests/GOLIBTests.cs
Tests/Interfaces/1.crow

index db0973d8e0d005252bcaa22ecc8b53803a5c067a..0de4bf26e47857ebba241ca8d76e75ba7629fe7b 100644 (file)
@@ -1,13 +1,15 @@
 <?xml version="1.0"?>
-<Border BorderWidth="1" MinimumSize="20;20" Height="{../TemplatedHeight}" Width="{../TemplatedWidth}">
-       <HorizontalStack Margin="1" Height="{../../TemplatedHeight}" Width="{../../TemplatedWidth}">
+<Border BorderWidth="1" Height="{../TemplatedHeight}" Width="{../TemplatedWidth}">
+       <HorizontalStack Margin="1" Height="{../../TemplatedHeight}" Width="{../../TemplatedWidth}" >
                <Scroller Name="scroller1" Height="{../../../TemplatedHeight}" Width="{../../../TemplatedWidth}" 
-                               Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}">
-                       <VerticalStack Width="{../../../../TemplatedWidth}" Height="-1" 
-                               Name="List" Margin="0" VerticalAlignment="Top" />
+                               Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
+                               ValueChanged="../../../_scroller_ValueChanged">
+                       <VerticalStack Width="{../../../../TemplatedWidth}" Height="-1" MinimumSize="100;100"
+                               Name="List" Margin="0" VerticalAlignment="Top"
+                               LayoutChanged="../../../../_list_LayoutChanged"/>
                </Scroller>
                <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}" 
                        Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical" 
-                       Width="10" Height="{../../../TemplatedHeight}" />
+                       Width="14" Height="{../../../TemplatedHeight}" />
        </HorizontalStack>
 </Border>
\ No newline at end of file
index dfbba27f7d4dca0062e276315ab1d616e1438482..6da1768fc47c35cc496d6417f143306cfb6ff974 100644 (file)
@@ -37,6 +37,8 @@ namespace test
                int frameCpt = 0;
                int idx = 0;
                string[] testFiles = {
+                       "testCombobox.goml",
+                       "1.crow",
                        "0.crow",
                        "testPopper.goml",
                        "testTextBox.crow",
@@ -60,7 +62,7 @@ namespace test
                        "2.crow",
                        "test1.goml",
                        "testWindow2.goml",
-//                     "testCombobox.goml",
+
                        "testWindow3.goml",
                        "testWindow.goml",
                        "testCheckbox.goml",
@@ -142,7 +144,7 @@ namespace test
                                return;
                        NotifyValueChanged ("alignment", Enum.Parse(typeof(Alignment), rb.Caption));
                }
-               IList<Color> testList = null;
+               IList<Color> testList = Color.ColorDic.ToList();
                public IList<Color> TestList {
                        set{
                                testList = value;
index 72a0e0626e2f984a78a190850b8b8f193bc1b51e..f44aea1461f967172d4ac5c661aac40f1ff2c20e 100755 (executable)
@@ -1,2 +1,7 @@
 <?xml version="1.0"?>
-<ComboBox/>
\ No newline at end of file
+<VerticalStack>
+       <CheckBox IsChecked="false" Caption="test" Width="-1" Background="hgradient|0:LimeGreen|1:Transparent"/>
+       <CheckBox IsChecked="false" Caption="test" Width="-1" Background="hgradient|0:LimeGreen|1:Transparent"/>
+       <CheckBox IsChecked="true" Caption="test" Width="-1" Background="hgradient|0:LimeGreen|1:Transparent"/>
+       <CheckBox IsChecked="false" Caption="test" Width="-1" Background="hgradient|0:LimeGreen|1:Transparent"/>
+</VerticalStack>
\ No newline at end of file