aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-10-13 16:57:26 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-10-13 16:57:26 +0200
commit6bedf8d5d0b78ba0705e37375d8dee016e87ebbb (patch)
tree4dabb643902d9ed30d185f9356bc3a17115011f8 /Tests/Interfaces
parent97536ca0666ce95a598569afbaa8657e54e48439 (diff)
- GraphicTree parsing bindings in templates instead of using
datasource which could be kept for other uses - ListBox bindings debug - LogicalParent for Popper to get correct DataSource for content
Diffstat (limited to 'Tests/Interfaces')
-rwxr-xr-xTests/Interfaces/testCheckbox.goml2
-rwxr-xr-xTests/Interfaces/testExpandable.goml4
-rwxr-xr-xTests/Interfaces/testPopper.goml4
-rwxr-xr-xTests/Interfaces/test_Listbox.goml6
4 files changed, 12 insertions, 4 deletions
diff --git a/Tests/Interfaces/testCheckbox.goml b/Tests/Interfaces/testCheckbox.goml
index 999d79f9..966455e6 100755
--- a/Tests/Interfaces/testCheckbox.goml
+++ b/Tests/Interfaces/testCheckbox.goml
@@ -1,3 +1,3 @@
<?xml version="1.0"?>
-<Checkbox Width="100" Height="-1" Caption="Checkbox" Background="DimGray" IsChecked="true"/>
+<Checkbox Width="-1" Height="-1" Caption="Checkbox" Background="DimGray" IsChecked="false"/>
diff --git a/Tests/Interfaces/testExpandable.goml b/Tests/Interfaces/testExpandable.goml
index 5cae7ae6..35cf3d64 100755
--- a/Tests/Interfaces/testExpandable.goml
+++ b/Tests/Interfaces/testExpandable.goml
@@ -5,5 +5,9 @@
<Checkbox Name="chk2" IsChecked="true"/>
<Checkbox Name="chk3"/>
<Checkbox Name="chk4"/>
+ <HorizontalStack Fit="true" Margin="20">
+ <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="RightCenter"/>
+ <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
</VerticalStack>
</Expandable>
diff --git a/Tests/Interfaces/testPopper.goml b/Tests/Interfaces/testPopper.goml
index 4c6ba76b..3686599a 100755
--- a/Tests/Interfaces/testPopper.goml
+++ b/Tests/Interfaces/testPopper.goml
@@ -7,6 +7,10 @@
<Checkbox Name="chk2" IsChecked="true"/>
<Checkbox Name="chk3"/>
<Checkbox Name="chk4"/>
+ <HorizontalStack Fit="true" Margin="20">
+ <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="RightCenter"/>
+ <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
</VerticalStack>
</Border>
</Popper>
diff --git a/Tests/Interfaces/test_Listbox.goml b/Tests/Interfaces/test_Listbox.goml
index b132a87e..9f7645ab 100755
--- a/Tests/Interfaces/test_Listbox.goml
+++ b/Tests/Interfaces/test_Listbox.goml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--<ListBox Data="{TestList}" Focusable="true"/>-->
<ListBox Data="{TestList}" Background="0,5;0,5;0,5;0,5"
- HorizontalAlignment="Left" Width="0" Height="0" Margin="50">
+ HorizontalAlignment="Left" Width="-1" Height="-1" Margin="50">
<!-- <Template>
<Border BorderWidth="1" Margin="1" MinimumSize="100;100" Width="0" Height="0" >
<Scroller Name="scroller1" Margin="1" VerticalScrolling="true"
@@ -10,13 +10,13 @@
</Scroller>
</Border>
</Template>-->
- <Template>
+<!-- <Template>
<Border BorderWidth="1" Margin="1" MinimumSize="100;100" Height="{TemplatedHeight}" Width="{TemplatedWidth}" >
<Scroller Name="scroller1" Margin="1" VerticalScrolling="true"
Height="{TemplatedHeight}" Width="{TemplatedWidth}">
<VerticalStack Height="-1" Width="{TemplatedWidth}" Name="List" Margin="0" VerticalAlignment="Top"/>
</Scroller>
</Border>
- </Template>
+ </Template>-->
</ListBox>