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 /Templates/ComboBox.template | |
| 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 'Templates/ComboBox.template')
| -rwxr-xr-x | Templates/ComboBox.template | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Templates/ComboBox.template b/Templates/ComboBox.template index d28a7b91..906e354d 100755 --- a/Templates/ComboBox.template +++ b/Templates/ComboBox.template @@ -1,12 +1,10 @@ <?xml version="1.0"?> -<Popper Name="popper" PopDirection="Bottom" Height="{../HeightPolicy}" Width="{../WidthPolicy}"> +<Popper Name="popper" PopDirection="Bottom"> <Template> - <Border CornerRadius="0" Foreground="LightGray" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}"> - <HorizontalStack Margin="0 - " Spacing="1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"> + <Border CornerRadius="0" Foreground="LightGray"> + <HorizontalStack Margin="0" Spacing="1"> <TextBox MinimumSize="80,10" Margin="1" Foreground="Black" Background="White" - Text="{../../../../SelectedItem}" - Height="{../../../../HeightPolicy}" Width="{../../../../WidthPolicy}"/> + Text="{../../../../SelectedItem}"/> <Button Width="14" Height="14" Focusable="false" Template="#Crow.Templates.ArrowButTemplate.crow"> <Image Margin="0" Path="#Crow.Images.Icons.updown.svg" SvgSub="down"/> @@ -18,11 +16,10 @@ MinimumSize="{../../MinimumPopupSize}" Fit="true"> <Scroller Name="scroller1" Margin="2" VerticalScrolling="true" MaximumSize="0,200" - Height="{../HeightPolicy}" Width="{../WidthPolicy}" HorizontalAlignment="Left" ValueChanged="../../../_scroller_ValueChanged"> <VerticalStack LayoutChanged="../../../../_list_LayoutChanged" - Height="Fit" Width="{../../WidthPolicy}" Name="ItemsContainer" Margin="0" + Height="Fit" Name="ItemsContainer" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top"/> </Scroller> |