diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-05 12:08:56 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-05 12:08:57 +0200 |
| commit | 4c15030701964aee1c1dc908d6fa4dcdbec16a12 (patch) | |
| tree | abc69bdd9cd0713d795a924d329b4466e31bbac6 /Tests/Interfaces | |
| parent | 8dcac53903c37878d54d59066eb7f80da1d62bc7 (diff) | |
threaded combo, Monodevelop addin improve
Diffstat (limited to 'Tests/Interfaces')
| -rwxr-xr-x | Tests/Interfaces/fps.goml | 44 | ||||
| -rwxr-xr-x | Tests/Interfaces/test4.goml | 24 |
2 files changed, 28 insertions, 40 deletions
diff --git a/Tests/Interfaces/fps.goml b/Tests/Interfaces/fps.goml index baa85b63..91d02640 100755 --- a/Tests/Interfaces/fps.goml +++ b/Tests/Interfaces/fps.goml @@ -1,22 +1,24 @@ <?xml version="1.0"?>
-<Container Name="MainGrp" Background="0,5;0,5;0,5;0,5"
- Margin="10" Width="-1" Height="-1" Focusable="True" >
- <VerticalStack Name="vsFps" BorderWidth="1" Margin="5" Spacing="4" Fit="true">
- <HorizontalStack Height="-1">
- <Label Text="Update:" FontColor="White" />
- <Label Name="labUpdate" Text="{update}" FontSize="12" Background="DarkGreen"/>
- </HorizontalStack>
- <HorizontalStack Height="-1" Name="hsFps" Background="Mantis" >
- <Label Name="captionFps" Text="Fps:" />
- <Label Name="valueFps" Text="{fps}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- <HorizontalStack Height="-1" Background="UniversityOfCaliforniaGold">
- <Label Text="Min:" Width = "30" />
- <Label Text="{fpsMin}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- <HorizontalStack Height="-1" Background="Sienna" >
- <Label Text="Max:" Width = "30"/>
- <Label Text="{fpsMax}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- </VerticalStack>
-</Container>
\ No newline at end of file +<Border Fit="true" CornerRadius="5" BorderWidth="1">
+ <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="RightCenter"/>
+ <Label 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="RightCenter"/>
+ <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+ <HorizontalStack Fit="true">
+ <Label Text="Min:" Width="50" TextAlignment="RightCenter"/>
+ <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+ <HorizontalStack Fit="true">
+ <Label Text="Max:" Width="50" TextAlignment="RightCenter"/>
+ <Label Text="{fpsMax}" Font="droid , 12" Background="AoEnglish" Width="50" TextAlignment="Center"/>
+ </HorizontalStack>
+ </VerticalStack>
+ </Container>
+</Border>
\ No newline at end of file diff --git a/Tests/Interfaces/test4.goml b/Tests/Interfaces/test4.goml index d2866bb6..6bd2e14c 100755 --- a/Tests/Interfaces/test4.goml +++ b/Tests/Interfaces/test4.goml @@ -30,26 +30,12 @@ <VerticalStack Fit="true">
<Checkbox Name="chk1"/>
<Checkbox Name="chk2" IsChecked="true"/>
- <Checkbox Name="chk4" >
- <Template>
- <HorizontalStack Fit="True" Margin="0" Spacing="1">
- <Image Name="Image" Width="20" Height="20" Path="#go.Images.Icons.checkbox.svg"/>
- <Label Name="Caption" Height="-1" Width="-1" Foreground="Black" Background="Yellow"/>
- </HorizontalStack>
- </Template>
- </Checkbox>
+
</VerticalStack>
<VerticalStack Fit="true">
<RadioButton IsChecked="true"/>
<RadioButton/>
- <RadioButton>
- <Template>
- <HorizontalStack Fit="true" Background="Green" Margin="0" Spacing="1" Focusable="false">
- <Image Name="Image" Width="20" Height="20" Path="#go.Images.Icons.radiobutton.svg"/>
- <Label Name="Caption"/>
- </HorizontalStack>
- </Template>
- </RadioButton>
+ <Button MouseClick="onButClick"/>
</VerticalStack>
</HorizontalStack>
<TextBoxWidget Name="textbox1" TextAlignment="LeftCenter" Font="droid,14"
@@ -111,14 +97,14 @@ <Scroller Name="scroller1" Background="DimGray" Width="-1"
Margin="5" VerticalScrolling="true" ScrollY="{../scrollbar1.Scroll}">
<VerticalStack Name="colors" VerticalAlignment="Top" Margin="1" Fit="true">
- <ProgressBar Name="pbBar2" Width="100" Height="20" Value="50"
+<!-- <ProgressBar Name="pbBar2" Width="100" Height="20" Value="50"
BorderWidth="2" BorderColor="White" Foreground="BlueCrayola" Background="DarkGray"/>
<ProgressBar Width="100" Height="20" Value="{fps}" BorderWidth="2"
- BorderColor="White" Foreground="BlueCrayola" Background="DarkGray"/>
+ BorderColor="White" Foreground="BlueCrayola" Background="DarkGray"/> -->
</VerticalStack>
</Scroller>
<Scrollbar Name="scrollbar1" Scroll="{../scroller1.ScrollY}" MaximumScroll="{../scroller1.MaximumScroll}"
- Orientation="Vertical" Width="16" />
+ Orientation="Vertical" Width="10" Height="0"/>
</HorizontalStack>
</HorizontalStack>
<!-- <HorizontalStack Name="hs0"
|