Releases: SpicyTaco/SpicyTaco.AutoGrid
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.1.6
Bug fix
StackPanel to the rescue!
Sometimes you just want a simple stacking layout that gets out of your way and provides the features that you actually need to create great and consistent layouts. Well, now it exists: SpicyTaco.StackPanel!
SpicyTaco.StackPanel provides some very useful features that were driven out of necessity. In my daily XAML editing life I find myself struggling with margins between elements and their panels. All I really want to do is define the spacing between elements in the panel, and then separately define the spacing around the panel. With SpicyTaco.StackPanel, this is a simple property on the panel itself.
I also sometimes want the simplicity of a WPF StackPanel
, but the power of a DockPanel
or Grid
to fill a certain child element into the remaining space. This is particularly useful for TextBlock
children that tend to be extremely greedy and take up as much space as the containing panel allows it to. And the built in WPF StackPanel
is a terrible parent for greedy children. It just gives them whatever they want. Well, no more! SpicyTaco.StackPanel restricts children marked with st:StackPanel.Fill="Fill"
to the remaining space provided to the parent by its parent. This means your TextBlock
children will wrap the way you expect them to.
<st:StackPanel Orientation="Horizontal" MarginBetweenChildren="10" Margin="10">
<Button Content="Info" HorizontalAlignment="Left" st:StackPanel.Fill="Fill"/>
<Button Content="Cancel"/>
<Button Content="Save"/>
</st:StackPanel>
Opt out of auto indexing
- Added ability to opt out of auto indexing at an element basis.
st:AutoGrid.AutoIndex="False"
- Added xmlns defaults:
xmlns:st="http://schemas.spicytaco.io/"
Initial release
This is the initial shipping release of SpicyTaco.AutoGrid.