aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-07-31 12:29:20 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-07-31 12:29:20 +0200
commit9a8f162ca773a0a4b8748e631d53935dfd9831dc (patch)
tree70d93447dbfaaf7b04474ddb7542a34bf4faed10 /Tests
parent5236bd6b11d26f08ed49462252bb815314e9e7dc (diff)
parent58ca25a123f4cf8ac959d9ad372494b0c40a41bb (diff)
Merge branch 'StylingImprovments'
Diffstat (limited to 'Tests')
-rw-r--r--Tests/BasicTests.cs1
-rwxr-xr-xTests/Interfaces/Container/0.crow4
-rwxr-xr-xTests/Interfaces/Container/1.crow4
-rwxr-xr-xTests/Interfaces/Container/2.crow4
-rwxr-xr-xTests/Interfaces/Divers/2.crow1
-rwxr-xr-xTests/Interfaces/Divers/5.crow4
-rwxr-xr-xTests/Interfaces/Divers/fps.crow14
-rwxr-xr-xTests/Interfaces/Divers/testBorder.crow4
-rwxr-xr-xTests/Interfaces/Divers/testGrid.crow10
-rwxr-xr-xTests/Interfaces/Divers/testStacks.crow4
-rwxr-xr-xTests/Interfaces/Divers/testWindow.goml10
-rwxr-xr-xTests/Interfaces/Divers/testWindow2.goml10
-rwxr-xr-xTests/Interfaces/Divers/testWindow3.goml8
-rwxr-xr-xTests/Interfaces/Divers/test_Listbox.crow6
-rwxr-xr-xTests/Interfaces/GraphicObject/0.crow4
-rwxr-xr-xTests/Interfaces/GraphicObject/1.crow4
-rwxr-xr-xTests/Interfaces/GraphicObject/2.crow4
-rwxr-xr-xTests/Interfaces/Group/0.crow10
-rwxr-xr-xTests/Interfaces/Group/1.crow20
-rwxr-xr-xTests/Interfaces/Group/2.crow20
-rwxr-xr-xTests/Interfaces/Group/3.crow20
-rwxr-xr-xTests/Interfaces/Group/4.crow4
-rwxr-xr-xTests/Interfaces/Nouveau dossier/test4.1.crow6
-rwxr-xr-xTests/Interfaces/Nouveau dossier/test4.crow4
-rwxr-xr-xTests/Interfaces/Nouveau dossier/test6.crow6
-rwxr-xr-xTests/Interfaces/Nouveau dossier/testColorList.crow6
-rwxr-xr-xTests/Interfaces/Nouveau dossier/testDirViewer.crow6
-rwxr-xr-xTests/Interfaces/Stack/0.crow10
-rwxr-xr-xTests/Interfaces/Stack/0h.crow10
-rwxr-xr-xTests/Interfaces/Stack/1.crow8
-rwxr-xr-xTests/Interfaces/Stack/1h.crow8
-rwxr-xr-xTests/Interfaces/Stack/2.crow8
-rwxr-xr-xTests/Interfaces/Stack/2h.crow8
-rwxr-xr-xTests/Interfaces/Stack/3.crow42
-rwxr-xr-xTests/Interfaces/Stack/3h.crow42
-rwxr-xr-xTests/Interfaces/basicTests/0.crow4
-rw-r--r--Tests/OpenTKGameWindow.cs6
-rw-r--r--Tests/ui/LabelButton.style16
-rw-r--r--Tests/ui/MenuItem.style22
-rwxr-xr-xTests/ui/test.crow6
-rwxr-xr-xTests/ui/tmpWindow.crow4
41 files changed, 197 insertions, 195 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs
index e194bc80..1382d739 100644
--- a/Tests/BasicTests.cs
+++ b/Tests/BasicTests.cs
@@ -78,7 +78,6 @@ namespace Tests
KeyboardKeyDown += GOLIBTests_KeyboardKeyDown1;
-
testFiles = new string [] { @"Interfaces/Divers/welcome.crow" };
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray ();
//testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/basicTests", "*.crow")).ToArray ();
diff --git a/Tests/Interfaces/Container/0.crow b/Tests/Interfaces/Container/0.crow
index eec3a76f..a69e6f69 100755
--- a/Tests/Interfaces/Container/0.crow
+++ b/Tests/Interfaces/Container/0.crow
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Container Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="50;50"/>
+ MinimumSize="50,50"/>
</Container> \ No newline at end of file
diff --git a/Tests/Interfaces/Container/1.crow b/Tests/Interfaces/Container/1.crow
index 081c8715..c75ad4f7 100755
--- a/Tests/Interfaces/Container/1.crow
+++ b/Tests/Interfaces/Container/1.crow
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Container Background="Lust" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="50%" Height="50%" Background="Maize"
- MinimumSize="50;50"/>
+ MinimumSize="50,50"/>
</Container> \ No newline at end of file
diff --git a/Tests/Interfaces/Container/2.crow b/Tests/Interfaces/Container/2.crow
index 839a0fee..a8425272 100755
--- a/Tests/Interfaces/Container/2.crow
+++ b/Tests/Interfaces/Container/2.crow
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Container Background="Teal" Margin="10" Fit="true">
<GraphicObject Margin="10" Width="50%" Height="50%" Background="Malachite"
- MinimumSize="50;50"/>
+ MinimumSize="50,50"/>
</Container> \ No newline at end of file
diff --git a/Tests/Interfaces/Divers/2.crow b/Tests/Interfaces/Divers/2.crow
index 959cadb1..5b4d9c75 100755
--- a/Tests/Interfaces/Divers/2.crow
+++ b/Tests/Interfaces/Divers/2.crow
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<VerticalStack Fit="true">
+ <TextBox Font="droid, 20" Text="test text box" Width="Stretched"/>
<HorizontalStack Margin="5" Fit="true" MouseEnter="{Background=White}" MouseLeave="{Background=Transparent}">
<Label Text="centered" Width="80" Height="30" Background="DarkBlue" TextAlignment="Center"/>
<Label Text="top left" Width="80" Height="30" Background="DarkBlue" TextAlignment="TopLeft"/>
diff --git a/Tests/Interfaces/Divers/5.crow b/Tests/Interfaces/Divers/5.crow
index 305639d6..34ee42c3 100755
--- a/Tests/Interfaces/Divers/5.crow
+++ b/Tests/Interfaces/Divers/5.crow
@@ -2,9 +2,9 @@
<HorizontalStack Fit="true" Margin="5">
<VerticalStack Fit="true" Margin="2" Spacing="2">
<TextRun Text="text run test"/>
- <Label Text="label test"/>
+<!-- <Label Text="label test"/>
<TextBox Text="text box test"/>
- <Button Caption="test button"/>
+ <Button Caption="test button"/>-->
<!-- <CheckBox Caption="test checkbox"/>
<RadioButton Caption="test radiobutton"/>
<ComboBox/>
diff --git a/Tests/Interfaces/Divers/fps.crow b/Tests/Interfaces/Divers/fps.crow
index 18f96c02..6747bbd2 100755
--- a/Tests/Interfaces/Divers/fps.crow
+++ b/Tests/Interfaces/Divers/fps.crow
@@ -1,24 +1,24 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Border Fit="true" CornerRadius="5" BorderWidth="1">
- <Container Name="MainGrp" Background="0,5;0,5;0,5;0,4" Width="120" Fit="true"
+ <Container Name="MainGrp" Background="0.5,0.5,0.5,0.4" Width="120" Fit="true"
Margin="10" Focusable="True" >
<VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
<Label Text="Update:" Width="50" TextAlignment="Right"/>
- <Label Name="labUpdate" Text="{update}" Font="droid,12" Background="AoEnglish" Width="50" TextAlignment="Center"/>
+ <Label Margin="5" Name="labUpdate" Text="{update}" Font="droid,12" Background="AoEnglish" Width="50" TextAlignment="Center"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/>
- <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ <Label Margin="5" Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Text="Min:" Width="50" TextAlignment="Right"/>
- <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ <Label Margin="5" Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Text="Max:" Width="50" TextAlignment="Right"/>
- <Label Text="{fpsMax}" Font="droid , 12" Background="AoEnglish" Width="50" TextAlignment="Center"/>
+ <Label Margin="5" Text="{fpsMax}" Font="droid , 12" Background="AoEnglish" Width="50" TextAlignment="Center"/>
</HorizontalStack>
- </VerticalStack>
+ </VerticalStack>
</Container>
</Border> \ No newline at end of file
diff --git a/Tests/Interfaces/Divers/testBorder.crow b/Tests/Interfaces/Divers/testBorder.crow
index cae3c33d..40ba7cf1 100755
--- a/Tests/Interfaces/Divers/testBorder.crow
+++ b/Tests/Interfaces/Divers/testBorder.crow
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Border BorderWidth="2" Width="200" Height="200" CornerRadius="2" Margin="0"
- Background="vgradient|0,65:Mantis|1:Transparent">
+ Background="vgradient|0.65:Mantis|1:Transparent">
<GraphicObject CornerRadius="20" Background="#Tests.image.crow0.svg" Margin="0" Height="100" Width="120" />
</Border>
diff --git a/Tests/Interfaces/Divers/testGrid.crow b/Tests/Interfaces/Divers/testGrid.crow
index a336c1ed..0342f9a2 100755
--- a/Tests/Interfaces/Divers/testGrid.crow
+++ b/Tests/Interfaces/Divers/testGrid.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Grid RowCount="2" ColumnCount="2">
- <GraphicObject Background="0,0;0,0;0,0;1,0"/>
- <GraphicObject Background="0,0;0,0;0,5;1,0"/>
- <GraphicObject Background="0,0;0,5;0,0;1,0"/>
- <GraphicObject Background="0,5;0,0;0,0;1,0"/>
+ <GraphicObject Background="0.0,0.0,0.0,1.0"/>
+ <GraphicObject Background="0.0,0.0,0.5,1.0"/>
+ <GraphicObject Background="0.0,0.5,0.0,1.0"/>
+ <GraphicObject Background="0.5,0.0,0.0,1.0"/>
</Grid> \ No newline at end of file
diff --git a/Tests/Interfaces/Divers/testStacks.crow b/Tests/Interfaces/Divers/testStacks.crow
index 44c7c7f9..ac2cccc6 100755
--- a/Tests/Interfaces/Divers/testStacks.crow
+++ b/Tests/Interfaces/Divers/testStacks.crow
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<Window Width="500" Height="300" MinimumSize="50;50">
+<?xml version="1.0"?>
+<Window Width="500" Height="300" MinimumSize="50,50">
<HorizontalStack Margin="5" Background="DimGray">
<VerticalStack Width="200" Margin="5" Background="Gray">
<VerticalStack Fit="true" Background="DimGray" Margin="5">
diff --git a/Tests/Interfaces/Divers/testWindow.goml b/Tests/Interfaces/Divers/testWindow.goml
index fd24b50f..9e184dff 100755
--- a/Tests/Interfaces/Divers/testWindow.goml
+++ b/Tests/Interfaces/Divers/testWindow.goml
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Window Left="10" Top="10" Title="Test window"
Width="250" Height="550" >
- <VerticalStack Name="contentVSStack" Margin="10" Spacing="10" Background="0,4;0,4;0,4;0,4">
+ <VerticalStack Name="contentVSStack" Margin="10" Spacing="10" Background="0.4,0.4,0.4,0.4">
<Slider Name="slider" Height="12" Width="Stretched" CornerRadius="3"/>
<GroupBox Caption="test" Height="Fit" Width="Stretched" Margin="5">
<VerticalStack Height="Fit" Width="Stretched" >
@@ -16,14 +16,14 @@
<GraphicObject Width="Stretched"/>
<RadioButton Width="80" Height="Fit" Caption="Radio 3" />
</HorizontalStack>
- <HorizontalStack Width="Stretched" Height="Stretched" MinimumSize="10;10" Margin="10" CornerRadius="5"
- Background="vgradient|0:White|0,1:SteelBlue|0,9:SteelBlue|1:Transparent">
+ <HorizontalStack Width="Stretched" Height="Stretched" MinimumSize="10,10" Margin="10" CornerRadius="5"
+ Background="vgradient|0:White|0.1:SteelBlue|0.9:SteelBlue|1:Transparent">
<CheckBox Height="Fit" Width="80"/>
<GraphicObject Width="Stretched"/>
<CheckBox Height="Fit" Width="80" IsChecked="true"/>
</HorizontalStack>
<Border Fit="true" CornerRadius="5" BorderWidth="1" >
- <Container Name="MainGrp" Background="0,5;0,5;0,5;0,4" Width="120" Fit="true"
+ <Container Name="MainGrp" Background="0.5,0.5,0.5,0.4" Width="120" Fit="true"
Margin="10" Focusable="True" >
<VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
diff --git a/Tests/Interfaces/Divers/testWindow2.goml b/Tests/Interfaces/Divers/testWindow2.goml
index d7c441e6..6fb61db0 100755
--- a/Tests/Interfaces/Divers/testWindow2.goml
+++ b/Tests/Interfaces/Divers/testWindow2.goml
@@ -1,11 +1,11 @@
-<?xml version="1.0"?>
-<Window Name="window1" Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0,5;0,5;0,5;0,8"
- Focusable="True" CornerRadius="20" MinimumSize="100;100" MaximumSize="500;500">
+<?xml version="1.0"?>
+<Window Name="window1" Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0.5,0.5,0.5,0.8"
+ Focusable="True" CornerRadius="20" MinimumSize="100,100" MaximumSize="500,500">
<Template>
<Border BorderWidth="1" Foreground="White" CornerRadius="20" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
<VerticalStack Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
<Border BorderWidth="1" Foreground="White" Width="{../../../WidthPolicy}" Height="Fit"
- Background="0,1;0,5;1,0;0,5">
+ Background="0.1,0.5;1,0,0.5">
<HorizontalStack Name="hs" Margin="1" Spacing="1" Width="{../../../../WidthPolicy}" Height="Fit" >
<GraphicObject Width="5"/>
<Image Margin="1" Width="12" Height="12" Path="{../../../../../Icon}"/>
@@ -18,7 +18,7 @@
<GraphicObject Width="5"/>
</HorizontalStack>
</Border>
- <Container Name="Content" Height="{../../../../HeightPolicy}" Width="{../../../../WidthPolicy}" Background="0,5;0,5;0,5;0,5"/>
+ <Container Name="Content" Height="{../../../../HeightPolicy}" Width="{../../../../WidthPolicy}" Background="0.5,0.5,0.5,0.5"/>
</VerticalStack>
</Border>
</Template>
diff --git a/Tests/Interfaces/Divers/testWindow3.goml b/Tests/Interfaces/Divers/testWindow3.goml
index c1784c5d..42459bd5 100755
--- a/Tests/Interfaces/Divers/testWindow3.goml
+++ b/Tests/Interfaces/Divers/testWindow3.goml
@@ -1,8 +1,8 @@
-<?xml version="1.0"?>
-<Window Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0,5;0,5;0,5;0,8"
- Focusable="True" CornerRadius="20" MinimumSize="100;100" MaximumSize="500;500">
+<?xml version="1.0"?>
+<Window Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0.5,0.5,0.5,0.8"
+ Focusable="True" CornerRadius="20" MinimumSize="100,100" MaximumSize="500,500">
<Template>
- <Container Margin="20" Name="Content" Height="{../HeightPolicy}" Width="{../WidthPolicy}" Background="0,5;0,5;0,5;0,5"/>
+ <Container Margin="20" Name="Content" Height="{../HeightPolicy}" Width="{../WidthPolicy}" Background="0.5,0.5,0.5,0.5"/>
</Template>
<!-- <Group Background="Green">-->
<GraphicObject Height="50" Width="50" Background="Red" Margin="5"/>
diff --git a/Tests/Interfaces/Divers/test_Listbox.crow b/Tests/Interfaces/Divers/test_Listbox.crow
index 0cbc4e2a..321ea58c 100755
--- a/Tests/Interfaces/Divers/test_Listbox.crow
+++ b/Tests/Interfaces/Divers/test_Listbox.crow
@@ -1,11 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<!--<ListBox Data="{TestList}" Focusable="true"/>-->
<Border Margin="50">
<VerticalStack >
<Label Text="{../ColorList.SelectedItem}" Background="DarkGreen"/>
<Label Text="{Hover}" Background="DarkGreen"/>
<Button Caption="Clear" Width="Stretched" MouseClick="OnClear"/>
- <ListBox Name="ColorList" Data="{TestList}" Background="0,5;0,5;0,5;0,5"
+ <ListBox Name="ColorList" Data="{TestList}" Background="0.5,0.5,0.5,0.5"
HorizontalAlignment="Center" Width="Fit" Height="200" Margin="0"
ItemTemplate="#Tests.Interfaces.colorItem.crow"
Template="#Crow.Templates.ScrollingListBox.goml">
@@ -15,7 +15,7 @@
<Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
ValueChanged="../../../_scroller_ValueChanged">
- <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="100;100"
+ <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="100,100"
Name="List" Margin="0" VerticalAlignment="Top"
LayoutChanged="../../../../_list_LayoutChanged"/>
</Scroller>
diff --git a/Tests/Interfaces/GraphicObject/0.crow b/Tests/Interfaces/GraphicObject/0.crow
index 6185bd71..6a01cb63 100755
--- a/Tests/Interfaces/GraphicObject/0.crow
+++ b/Tests/Interfaces/GraphicObject/0.crow
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<GraphicObject Margin="10" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="50;50"/> \ No newline at end of file
+ MinimumSize="50,50"/> \ No newline at end of file
diff --git a/Tests/Interfaces/GraphicObject/1.crow b/Tests/Interfaces/GraphicObject/1.crow
index 262fc24e..14ca7961 100755
--- a/Tests/Interfaces/GraphicObject/1.crow
+++ b/Tests/Interfaces/GraphicObject/1.crow
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<GraphicObject Margin="10" Width="150" Height="150" Background="Mantis"
- MinimumSize="50;50"/> \ No newline at end of file
+ MinimumSize="50,50"/> \ No newline at end of file
diff --git a/Tests/Interfaces/GraphicObject/2.crow b/Tests/Interfaces/GraphicObject/2.crow
index dfd10ab7..74075b28 100755
--- a/Tests/Interfaces/GraphicObject/2.crow
+++ b/Tests/Interfaces/GraphicObject/2.crow
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<GraphicObject Margin="10" Width="50%" Height="50%" Background="Mantis"
- MinimumSize="50;50"/> \ No newline at end of file
+ MinimumSize="50,50"/> \ No newline at end of file
diff --git a/Tests/Interfaces/Group/0.crow b/Tests/Interfaces/Group/0.crow
index c3cf308f..7eb5a0a6 100755
--- a/Tests/Interfaces/Group/0.crow
+++ b/Tests/Interfaces/Group/0.crow
@@ -1,11 +1,11 @@
-<?xml version="1.0"?>
-<Group MinimumSize="50;50" Background="Onyx" Margin="10" Width="90%" Height="90%">
+<?xml version="1.0"?>
+<Group MinimumSize="50,50" Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
VerticalAlignment="Top"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
VerticalAlignment="Bottom"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/Group/1.crow b/Tests/Interfaces/Group/1.crow
index 6950a8d8..6f07c3f3 100755
--- a/Tests/Interfaces/Group/1.crow
+++ b/Tests/Interfaces/Group/1.crow
@@ -1,33 +1,33 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/Group/2.crow b/Tests/Interfaces/Group/2.crow
index 693e1b05..a7cc91ab 100755
--- a/Tests/Interfaces/Group/2.crow
+++ b/Tests/Interfaces/Group/2.crow
@@ -1,33 +1,33 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Background="Onyx" Margin="10" Fit="true">
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/Group/3.crow b/Tests/Interfaces/Group/3.crow
index 321e219d..7c038551 100755
--- a/Tests/Interfaces/Group/3.crow
+++ b/Tests/Interfaces/Group/3.crow
@@ -1,33 +1,33 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Background="Onyx" Margin="10" Width="70%" Height="50%">
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="100%" Height="20%" Background="Mantis"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/Group/4.crow b/Tests/Interfaces/Group/4.crow
index 25e03bd8..02c01b29 100755
--- a/Tests/Interfaces/Group/4.crow
+++ b/Tests/Interfaces/Group/4.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Background="Onyx" Margin="10" Fit="true">
<Label Font="droid bold,40" Text="{fps}" Margin="10" Fit="true"/>
<GraphicObject Margin="10" Width="20%" Height="20%" Background="Mantis"
VerticalAlignment="Top"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/Nouveau dossier/test4.1.crow b/Tests/Interfaces/Nouveau dossier/test4.1.crow
index 1cc40e3b..2ac55cd0 100755
--- a/Tests/Interfaces/Nouveau dossier/test4.1.crow
+++ b/Tests/Interfaces/Nouveau dossier/test4.1.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Name="MainGrp"
Width="800" Height="500"
- Background="0,5;0,5;0,5;0,5" Foreground="White"
+ Background="0.5,0.5,0.5,0.5" Foreground="White"
Margin="10" >
<Border
BorderWidth="2" Foreground="Transparent"
@@ -12,7 +12,7 @@
<HorizontalStack Name="hs0" Fit="true"
WidgetSpacing="10"
VerticalAlignment="Center"
- Background="0,5;0,5;0,5;0,5">
+ Background="0.5,0.5,0.5,0.5">
<VerticalStack Name="vs1"
Margin="20" Width="400" Height="Fit">
<Label Name="labMouse" Text="MousePos"/>
diff --git a/Tests/Interfaces/Nouveau dossier/test4.crow b/Tests/Interfaces/Nouveau dossier/test4.crow
index eb200fcc..06476f31 100755
--- a/Tests/Interfaces/Nouveau dossier/test4.crow
+++ b/Tests/Interfaces/Nouveau dossier/test4.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Group Name="MainGrp"
Width="800" Height="500"
- Background="0,5;0,5;0,5;0,5" Foreground="White"
+ Background="0.5,0.5,0.5,0.5" Foreground="White"
Margin="10" >
<Border Margin="10" CornerRadius="10"
Name="mainBorder"
diff --git a/Tests/Interfaces/Nouveau dossier/test6.crow b/Tests/Interfaces/Nouveau dossier/test6.crow
index f75d46c7..532450da 100755
--- a/Tests/Interfaces/Nouveau dossier/test6.crow
+++ b/Tests/Interfaces/Nouveau dossier/test6.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Border BorderWidth="1" Foreground="White" CornerRadius="10" Width="500" Height="300">
- <VerticalStack Height="Stretched" Background="0,4;0,4;0,4;0,4">
- <Border BorderWidth="1" Foreground="White" Height="20" Background="0,1;0,5;1,0;0,5">
+ <VerticalStack Height="Stretched" Background="0.4,0.4,0.4,0.4">
+ <Border BorderWidth="1" Foreground="White" Height="20" Background="0.1,0.5;1,0,0.5">
<HorizontalStack Name="hs" Margin="1" Spacing="1" Height="Fit" >
<GraphicObject Width="5"/>
<Image Name="Image" Margin="1" Width="12" Height="12" Path="#go.Images.Icons.tetra.png"/>
diff --git a/Tests/Interfaces/Nouveau dossier/testColorList.crow b/Tests/Interfaces/Nouveau dossier/testColorList.crow
index ccbbb094..d9b67410 100755
--- a/Tests/Interfaces/Nouveau dossier/testColorList.crow
+++ b/Tests/Interfaces/Nouveau dossier/testColorList.crow
@@ -1,7 +1,7 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Border BorderWidth="2" Fit="true">
<VerticalStack Fit="true" Margin="5">
- <ListBox Data="{TestList}" Background="0,5;0,5;0,5;0,7"
+ <ListBox Data="{TestList}" Background="0.5,0.5,0.5,0.7"
HorizontalAlignment="Center" Width="200" Height="200" Margin="5"
ItemTemplate="#Tests.Interfaces.colorItem.crow">
<Template>
@@ -10,7 +10,7 @@
<Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
ValueChanged="../../../_scroller_ValueChanged">
- <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="10;10"
+ <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="10,10"
Name="List" Margin="0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
diff --git a/Tests/Interfaces/Nouveau dossier/testDirViewer.crow b/Tests/Interfaces/Nouveau dossier/testDirViewer.crow
index ec32d763..dd6f9b8a 100755
--- a/Tests/Interfaces/Nouveau dossier/testDirViewer.crow
+++ b/Tests/Interfaces/Nouveau dossier/testDirViewer.crow
@@ -1,15 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<VerticalStack Height="Fit" Width="Fit" Name="hstack" Margin="0" Spacing="Stretched">
<Border Height="Fit" Width="200" BorderWidth="2" CornerRadius="10">
<Label Name="labName" Text="{Name}" Width="Stretched" Height="Fit"/>
</Border>
<ListBox Data="{GetFileSystemInfos}" Width="Fit" Height="400"
- Background="0,5;0,5;0,5;0,5"
+ Background="0.5,0.5,0.5,0.5"
SelectedItemChanged="OnSelectedItemChanged"
ItemTemplate="Interfaces/tmpDirItem.goml" >
<Template>
- <Border BorderWidth="1" MinimumSize="20;20" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
+ <Border BorderWidth="1" MinimumSize="20,20" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
<HorizontalStack Margin="1" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
<Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Scroll}">
diff --git a/Tests/Interfaces/Stack/0.crow b/Tests/Interfaces/Stack/0.crow
index a178d8cc..63290f9e 100755
--- a/Tests/Interfaces/Stack/0.crow
+++ b/Tests/Interfaces/Stack/0.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
-<VerticalStack MinimumSize="50;50" Background="Onyx" Margin="10" Width="90%" Height="90%">
+<?xml version="1.0"?>
+<VerticalStack MinimumSize="50,50" Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</VerticalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/0h.crow b/Tests/Interfaces/Stack/0h.crow
index 9e31f04a..170bbed4 100755
--- a/Tests/Interfaces/Stack/0h.crow
+++ b/Tests/Interfaces/Stack/0h.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
-<HorizontalStack MinimumSize="50;50" Background="Onyx" Margin="10" Width="90%" Height="90%">
+<?xml version="1.0"?>
+<HorizontalStack MinimumSize="50,50" Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</HorizontalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/1.crow b/Tests/Interfaces/Stack/1.crow
index f8b28779..a0ac28c9 100755
--- a/Tests/Interfaces/Stack/1.crow
+++ b/Tests/Interfaces/Stack/1.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<VerticalStack Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="60%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</VerticalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/1h.crow b/Tests/Interfaces/Stack/1h.crow
index b86b77ac..7d97bd2c 100755
--- a/Tests/Interfaces/Stack/1h.crow
+++ b/Tests/Interfaces/Stack/1h.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<HorizontalStack Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="10" Width="Stretched" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="60%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="20%" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</HorizontalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/2.crow b/Tests/Interfaces/Stack/2.crow
index ebf1d1e9..6d8c9ad6 100755
--- a/Tests/Interfaces/Stack/2.crow
+++ b/Tests/Interfaces/Stack/2.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<VerticalStack Background="Onyx" Margin="10" Width="90%" Height="100%">
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</VerticalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/2h.crow b/Tests/Interfaces/Stack/2h.crow
index dc05fc0c..de1c36fe 100755
--- a/Tests/Interfaces/Stack/2h.crow
+++ b/Tests/Interfaces/Stack/2h.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<HorizontalStack Background="Onyx" Margin="10" Width="90%" Height="100%">
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
<GraphicObject Margin="10" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="10;10"/>
+ MinimumSize="10,10"/>
</HorizontalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/3.crow b/Tests/Interfaces/Stack/3.crow
index a5ec06ad..e46a5fff 100755
--- a/Tests/Interfaces/Stack/3.crow
+++ b/Tests/Interfaces/Stack/3.crow
@@ -1,45 +1,45 @@
<?xml version="1.0"?>
<VerticalStack Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
</VerticalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/Stack/3h.crow b/Tests/Interfaces/Stack/3h.crow
index a675876e..3a1d77dc 100755
--- a/Tests/Interfaces/Stack/3h.crow
+++ b/Tests/Interfaces/Stack/3h.crow
@@ -1,45 +1,45 @@
<?xml version="1.0"?>
<HorizontalStack Background="Onyx" Margin="10" Width="90%" Height="90%">
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Stretched" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
<GraphicObject Margin="1" Width="Stretched" Height="Fit" Background="Mantis"
- MinimumSize="2;2"/>
+ MinimumSize="2,2"/>
</HorizontalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/basicTests/0.crow b/Tests/Interfaces/basicTests/0.crow
index 486399b8..b5c153ef 100755
--- a/Tests/Interfaces/basicTests/0.crow
+++ b/Tests/Interfaces/basicTests/0.crow
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Label Margin="50" Width="50%" Height="50%" TextAlignment="BottomRight" Background="Mantis"/>
<!--<Container Background="Green" Margin="10" Width="Fit" Height="Fit">
<GraphicObject Margin="10" Width="{../WidthPolicy}" Height="{../HeightPolicy}" Background="Red"
- MinimumSize="50;50"/>
+ MinimumSize="50,50"/>
</Container>--> \ No newline at end of file
diff --git a/Tests/OpenTKGameWindow.cs b/Tests/OpenTKGameWindow.cs
index 381f86c8..2b3bdb24 100644
--- a/Tests/OpenTKGameWindow.cs
+++ b/Tests/OpenTKGameWindow.cs
@@ -107,6 +107,8 @@ namespace Crow
void interfaceThread()
{
+ Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
+
CrowInterface.Quit += Quit;
CrowInterface.MouseCursorChanged += CrowInterface_MouseCursorChanged;
while (CrowInterface.ClientRectangle.Size.Width == 0)
@@ -314,12 +316,12 @@ namespace Crow
#region keyboard Handling
void Keyboard_KeyDown(object sender, OpenTK.Input.KeyboardKeyEventArgs otk_e)
{
- //if (!CrowInterface.ProcessKeyDown((int)otk_e.Key))
+ if (!CrowInterface.ProcessKeyDown((int)otk_e.Key))
KeyboardKeyDown.Raise (this, otk_e);
}
void Keyboard_KeyUp(object sender, OpenTK.Input.KeyboardKeyEventArgs otk_e)
{
- //if (!CrowInterface.ProcessKeyUp((int)otk_e.Key))
+ if (!CrowInterface.ProcessKeyUp((int)otk_e.Key))
KeyboardKeyUp.Raise (this, otk_e);
}
void OpenTKGameWindow_KeyPress (object sender, OpenTK.KeyPressEventArgs e)
diff --git a/Tests/ui/LabelButton.style b/Tests/ui/LabelButton.style
index d376121f..617cfb8e 100644
--- a/Tests/ui/LabelButton.style
+++ b/Tests/ui/LabelButton.style
@@ -1,8 +1,8 @@
-MouseEnter = {Background = Gray;Foreground = White}
-Fit = true
-MouseLeave = {Background=Transparent;Foreground=Gray}
-MouseDown = {Background=Red;Foreground=White}
-MouseUp = {Background=Gray;Foreground=White}
-Foreground=Gray
-Margin=5
-CornerRadius=5
+MouseEnter = {Background = Gray;Foreground = White;}
+Fit = true;
+MouseLeave = {Background=Transparent;Foreground=Gray;}
+MouseDown = {Background=Red;Foreground=White;}
+MouseUp = {Background=Gray;Foreground=White;}
+Foreground=Gray;
+Margin=5;
+CornerRadius=5;
diff --git a/Tests/ui/MenuItem.style b/Tests/ui/MenuItem.style
index 8011ebcc..bce8e730 100644
--- a/Tests/ui/MenuItem.style
+++ b/Tests/ui/MenuItem.style
@@ -1,11 +1,11 @@
-Height = Fit
-Width = Stretched
-MinimumSize=60;10
-Margin=2
-CornerRadius=0
-TextAlignment=Left
-Foreground=Gray
-MouseEnter = {Background=SeaGreen;Foreground=White}
-MouseLeave = {Background=Transparent;Foreground=Gray}
-MouseDown = {Background=White;Foreground=DimGray}
-MouseUp = {Background=SeaGreen;Foreground=White}
+Height = Fit;
+Width = Stretched;
+MinimumSize=60;10;
+Margin=2;
+CornerRadius=0;
+TextAlignment=Left;
+Foreground=Gray;
+MouseEnter = {Background=SeaGreen;Foreground=White;}
+MouseLeave = {Background=Transparent;Foreground=Gray;}
+MouseDown = {Background=White;Foreground=DimGray;}
+MouseUp = {Background=SeaGreen;Foreground=White;}
diff --git a/Tests/ui/test.crow b/Tests/ui/test.crow
index d293a65e..da776371 100755
--- a/Tests/ui/test.crow
+++ b/Tests/ui/test.crow
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Window Font="droid bold, 10" Title="Open GL" HorizontalAlignment="Left" Width="30%" Height="90%">
<VerticalStack>
<HorizontalStack Background="Jet" Height="Fit" Width="Stretched" Margin="2">
@@ -18,8 +18,8 @@
</HorizontalStack>
<GroupBox Caption="Object Rotation" Margin="10" Width="70%" Height="Fit" >
<VerticalStack Spacing="10">
- <Spinner Width="50%" Maximum="1,0" SmallIncrement="0,01" Value="{²RotationSpeed}"/>
- <Slider Height="10" Width="50%" Maximum="1,0" SmallIncrement="0,01" Value="{²RotationSpeed}"/>
+ <Spinner Width="50%" Maximum="1,0" SmallIncrement="0.01" Value="{²RotationSpeed}"/>
+ <Slider Height="10" Width="50%" Maximum="1,0" SmallIncrement="0.01" Value="{²RotationSpeed}"/>
<CheckBox IsChecked="{²ClockWiseRotation}" Caption="Clockwise Rotation"/>
<GroupBox Caption="Rotation Axis" Height="Fit" >
<VerticalStack>
diff --git a/Tests/ui/tmpWindow.crow b/Tests/ui/tmpWindow.crow
index 08a7d58a..824ad704 100755
--- a/Tests/ui/tmpWindow.crow
+++ b/Tests/ui/tmpWindow.crow
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<Border BorderWidth="1" Foreground="White" CornerRadius="15"
Height="{../HeightPolicy}" Width="{../WidthPolicy}"
MouseEnter="../onBorderMouseEnter"
MouseLeave="../onBorderMouseLeave"
- Background="vgradient|0:0,6;0,6;0,6;0,9|1:0,4;0,4;0,4;0,6">
+ Background="vgradient|0:0.6,0.6,0.6,0.9|1:0.4,0.4,0.4,0.6">
<VerticalStack Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
<HorizontalStack Height="Fit" Width="{../../../WidthPolicy}">
<Label Margin="2" Font="{../../../../Font}" Text="{../../../../Title}" Width="Stretched"/>