mirror of
https://github.com/Stone-Red-Code/Decho.git
synced 2026-09-09 07:46:14 +02:00
Fix some margins
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
xmlns:i="https://github.com/projektanker/icons.avalonia"
|
xmlns:i="https://github.com/projektanker/icons.avalonia"
|
||||||
x:Class="Decho.Views.ChatView"
|
x:Class="Decho.Views.ChatView"
|
||||||
x:DataType="vm:ChatViewModel">
|
x:DataType="vm:ChatViewModel">
|
||||||
<Grid RowDefinitions="Auto, Auto, *, Auto" Margin="10">
|
<Grid RowDefinitions="Auto, Auto, *, 5, Auto" Margin="10">
|
||||||
<Grid ColumnDefinitions="*, Auto">
|
<Grid ColumnDefinitions="*, Auto">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock FontWeight="Bold"
|
<TextBlock FontWeight="Bold"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
Classes="IconButton" />
|
Classes="IconButton" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<views:MessageListView Grid.Row="2" />
|
<views:MessageListView Grid.Row="2" />
|
||||||
<views:MessageComposerView Grid.Row="3"
|
<views:MessageComposerView Grid.Row="4"
|
||||||
DataContext="{Binding Composer}" />
|
DataContext="{Binding Composer}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
x:Class="Decho.Views.SidebarView"
|
x:Class="Decho.Views.SidebarView"
|
||||||
x:DataType="vm:SidebarViewModel">
|
x:DataType="vm:SidebarViewModel">
|
||||||
<Border Background="{DynamicResource UiTheme00}" Width="250" CornerRadius="0 6 0 0">
|
<Border Background="{DynamicResource UiTheme00}" Width="250" CornerRadius="0 6 0 0">
|
||||||
<ScrollViewer Padding="5 5 5 -5">
|
<ScrollViewer Margin="5">
|
||||||
<ItemsControl ItemsSource="{Binding Servers}">
|
<ItemsControl ItemsSource="{Binding Servers}">
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate x:DataType="vm:ServerViewModel">
|
<DataTemplate x:DataType="vm:ServerViewModel">
|
||||||
|
|||||||
Reference in New Issue
Block a user