diff options
| author | j-p <jp.bruyere@live.be> | 2016-10-04 16:55:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-04 16:55:37 +0200 |
| commit | faad767304aa1280a907c9851e40d2b82a1a4f54 (patch) | |
| tree | f345bb4a1db2f8f16936019ee9651a20953b6a99 /Tests/ui | |
| parent | 2616e6ee7a1a34036cc002d28543d0d7a657fdb2 (diff) | |
Inherited dims (#31)v0.5
* Implement 'Inherit' measure to reduce bindings load.
modifié : Templates/ArrowButTemplate.crow
modifié : Templates/Button.template
modifié : Templates/CheckBox.template
modifié : Templates/ComboBox.template
modifié : Templates/DirectoryView.template
modifié : Templates/Expandable.template
modifié : Templates/GroupBox.template
modifié : Templates/ListBox.template
modifié : Templates/Menu.template
modifié : Templates/MenuItem.template
modifié : Templates/MessageBox.template
modifié : Templates/Popper.template
modifié : Templates/RadioButton.template
modifié : Templates/ScrollBar.template
modifié : Templates/ScrollingListBox.goml
modifié : Templates/Spinner.template
modifié : Templates/TabItem.template
modifié : Templates/TreeView.template
modifié : Templates/Window.template
modifié : Templates/treeList.crow
modifié : Tests/Interfaces/Container/0.crow
modifié : Tests/Interfaces/TemplatedContainer/testTreeView.crow
modifié : Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow
modifié : Tests/Interfaces/TmpExpandable.goml
modifié : Tests/Interfaces/treeList.crow
modifié : Tests/ui/Popper.template
modifié : Tests/ui/tmpWindow.crow
modifié : src/GraphicObjects/GraphicObject.cs
modifié : src/Measure.cs
* leave template bindings for sizing in ScrollBar template because
Inherited values are not working.
modifié : Templates/ScrollBar.template
renommé : Tests/Interfaces/TemplatedControl/testScrollbar.goml -> Tests/Interfaces/TemplatedControl/testScrollbar.crow
renommé : Tests/Interfaces/TemplatedControl/testSpinner.goml -> Tests/Interfaces/TemplatedControl/testSpinner.crow
modifié : Tests/Tests.csproj
* update nuspec
Diffstat (limited to 'Tests/ui')
| -rwxr-xr-x | Tests/ui/Popper.template | 2 | ||||
| -rwxr-xr-x | Tests/ui/tmpWindow.crow | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/Tests/ui/Popper.template b/Tests/ui/Popper.template index ffcd8d45..ae8c63c2 100755 --- a/Tests/ui/Popper.template +++ b/Tests/ui/Popper.template @@ -1,3 +1,3 @@ <?xml version="1.0"?> <Label Text="{../Caption}" Style="#Tests.ui.LabelButton.style" - Height="Fit" Width="{../WidthPolicy}"/> + Height="Fit"/> diff --git a/Tests/ui/tmpWindow.crow b/Tests/ui/tmpWindow.crow index 824ad704..64c97d55 100755 --- a/Tests/ui/tmpWindow.crow +++ b/Tests/ui/tmpWindow.crow @@ -1,11 +1,10 @@ <?xml version="1.0"?> -<Border BorderWidth="1" Foreground="White" CornerRadius="15" - Height="{../HeightPolicy}" Width="{../WidthPolicy}" +<Border BorderWidth="1" Foreground="White" CornerRadius="15" MouseEnter="../onBorderMouseEnter" MouseLeave="../onBorderMouseLeave" 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}"> + <VerticalStack> + <HorizontalStack Height="Fit"> <Label Margin="2" Font="{../../../../Font}" Text="{../../../../Title}" Width="Stretched"/> <Border HorizontalAlignment="Right" Margin="0" VerticalAlignment="Top" CornerRadius="6" BorderWidth="1" Foreground="Transparent" @@ -15,7 +14,6 @@ MouseClick="../../../../../butQuitPress"/> </Border> </HorizontalStack> - <Container Name="Content" - Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"/> + <Container Name="Content"/> </VerticalStack> </Border>
\ No newline at end of file |