diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-07 07:43:48 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-07 07:43:48 +0100 |
| commit | 158bc472eff0771479d48e5bd74a8141d62ab60a (patch) | |
| tree | 492f2d255de49b5c04ebba237ecb40b265bd6534 /Crow.ControlsLib/Templates/ScrollingListBox.goml | |
| parent | a330b907a9c9252c480ea352606d961bdc7c3ecb (diff) | |
:book: , renames, move some controls to other project file
Diffstat (limited to 'Crow.ControlsLib/Templates/ScrollingListBox.goml')
| -rw-r--r-- | Crow.ControlsLib/Templates/ScrollingListBox.goml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Crow.ControlsLib/Templates/ScrollingListBox.goml b/Crow.ControlsLib/Templates/ScrollingListBox.goml new file mode 100644 index 00000000..f294aea6 --- /dev/null +++ b/Crow.ControlsLib/Templates/ScrollingListBox.goml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<Border BorderWidth="1" Background="{./Background}"> + <HorizontalStack Margin="1"> + <Scroller Name="scroller1" + Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"> + <VerticalStack Height="Fit" MinimumSize="10,10" + Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/> + </Scroller> + <ScrollBar Name="scrollbar1" Value="{²../scroller1.ScrollY}" + Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical" + Width="14" /> + </HorizontalStack> +</Border> |