mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Change size of device list window.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
d:DesignHeight="450"
|
||||
x:Class="Aaru.Gui.Views.Windows.DeviceList"
|
||||
x:DataType="windows:DeviceListViewModel"
|
||||
Height="250"
|
||||
Width="775"
|
||||
Title="{x:Static localization:UI.Title_Device_list}">
|
||||
<Design.DataContext>
|
||||
<windows:DeviceListViewModel />
|
||||
@@ -32,7 +34,14 @@
|
||||
Margin="8"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
HorizontalScrollBarVisibility="Visible"
|
||||
ColumnHeaderHeight="32">
|
||||
<DataGrid.Styles>
|
||||
<Style Selector="DataGridCell">
|
||||
<Setter Property="Margin"
|
||||
Value="4,0" />
|
||||
</Style>
|
||||
</DataGrid.Styles>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTemplateColumn Width="Auto">
|
||||
<DataGridTemplateColumn.HeaderTemplate>
|
||||
@@ -42,7 +51,8 @@
|
||||
</DataGridTemplateColumn.HeaderTemplate>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Path, Mode=OneWay}" />
|
||||
<TextBlock Text="{Binding Path, Mode=OneWay}"
|
||||
VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
@@ -54,7 +64,8 @@
|
||||
</DataGridTemplateColumn.HeaderTemplate>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Vendor, Mode=OneWay}" />
|
||||
<TextBlock Text="{Binding Vendor, Mode=OneWay}"
|
||||
VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
@@ -66,7 +77,8 @@
|
||||
</DataGridTemplateColumn.HeaderTemplate>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Model, Mode=OneWay}" />
|
||||
<TextBlock Text="{Binding Model, Mode=OneWay}"
|
||||
VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
@@ -78,7 +90,8 @@
|
||||
</DataGridTemplateColumn.HeaderTemplate>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Serial, Mode=OneWay}" />
|
||||
<TextBlock Text="{Binding Serial, Mode=OneWay}"
|
||||
VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
@@ -90,7 +103,8 @@
|
||||
</DataGridTemplateColumn.HeaderTemplate>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Bus, Mode=OneWay}" />
|
||||
<TextBlock Text="{Binding Bus, Mode=OneWay}"
|
||||
VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
|
||||
Reference in New Issue
Block a user