mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 10:10:48 +01:00
feat: update styling for libraries
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
<ItemsRepeater.ItemTemplate>
|
<ItemsRepeater.ItemTemplate>
|
||||||
<DataTemplate x:DataType="vm:LibraryViewModel">
|
<DataTemplate x:DataType="vm:LibraryViewModel">
|
||||||
<ContentControl Content="{Binding}"
|
<ContentControl Content="{Binding}"
|
||||||
Margin="0 12 0 0"/>
|
Margin="0 12 16 0"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ItemsRepeater.ItemTemplate>
|
</ItemsRepeater.ItemTemplate>
|
||||||
</ItemsRepeater>
|
</ItemsRepeater>
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="Needlework.Net.Views.Pages.Home.LibraryView"
|
x:Class="Needlework.Net.Views.Pages.Home.LibraryView"
|
||||||
x:DataType="vm:LibraryViewModel">
|
x:DataType="vm:LibraryViewModel">
|
||||||
|
<Border Background="{DynamicResource ControlFillColorDefaultBrush}"
|
||||||
|
Padding="8"
|
||||||
|
CornerRadius="4">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock>
|
<TextBlock>
|
||||||
<Run Text="{Binding Library.Language}"
|
<Run Text="{Binding Library.Language}"
|
||||||
@@ -18,8 +21,9 @@
|
|||||||
IsVisible="{Binding Library.Description, Converter={StaticResource NullableToVisibilityConverter}}"
|
IsVisible="{Binding Library.Description, Converter={StaticResource NullableToVisibilityConverter}}"
|
||||||
TextAlignment="Left"
|
TextAlignment="Left"
|
||||||
TextWrapping="WrapWithOverflow"
|
TextWrapping="WrapWithOverflow"
|
||||||
Width="350"/>
|
Width="300"/>
|
||||||
<HyperlinkButton Content="{Binding Library.Link}" NavigateUri="{Binding Library.Link}"
|
<HyperlinkButton Content="{Binding Library.Link}" NavigateUri="{Binding Library.Link}"
|
||||||
Margin="0 4 0 0"/>
|
Margin="0 4 0 0"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user