调整用户空间的界面UI

croire 5 years ago
parent 67400b45bf
commit 123b74d85f

@ -1,6 +1,7 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <ResourceDictionary
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:local="clr-namespace:DownKyi.ui.images"> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:DownKyi.ui.images">
<DrawingImage x:Key="bilibiliDrawingImage"> <DrawingImage x:Key="bilibiliDrawingImage">
<DrawingImage.Drawing> <DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V1024 H2250 V0 H0 Z"> <DrawingGroup ClipGeometry="M0,0 V1024 H2250 V0 H0 Z">

@ -9,7 +9,10 @@
<RowDefinition Height="*" /> <RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<ListBox ItemsSource="{Binding PublicationZones}"> <ListBox
Margin="30,0,0,0"
ItemsSource="{Binding PublicationZones}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemsPanel> <ListBox.ItemsPanel>
<ItemsPanelTemplate> <ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" /> <WrapPanel IsItemsHost="True" />
@ -42,7 +45,7 @@
<ControlTemplate TargetType="{x:Type ListBoxItem}"> <ControlTemplate TargetType="{x:Type ListBoxItem}">
<StackPanel <StackPanel
Grid.Row="0" Grid.Row="0"
Margin="0,0,30,0" Margin="0,20,30,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Cursor="Hand" Cursor="Hand"
Orientation="Vertical"> Orientation="Vertical">

@ -9,7 +9,7 @@
<RowDefinition Height="*" /> <RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<ListBox ItemsSource="{Binding Channels}"> <ListBox ItemsSource="{Binding Channels}" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemsPanel> <ListBox.ItemsPanel>
<ItemsPanelTemplate> <ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" /> <WrapPanel IsItemsHost="True" />
@ -42,7 +42,7 @@
<ControlTemplate TargetType="{x:Type ListBoxItem}"> <ControlTemplate TargetType="{x:Type ListBoxItem}">
<StackPanel <StackPanel
Grid.Row="0" Grid.Row="0"
Margin="40,0,0,10" Margin="30,0,30,10"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Orientation="Vertical"> Orientation="Vertical">
<Border <Border

@ -243,7 +243,7 @@
<!-- 内容 --> <!-- 内容 -->
<Grid Grid.Row="1" Visibility="{Binding ContentVisibility}"> <Grid Grid.Row="1" Visibility="{Binding ContentVisibility}">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="70" /> <RowDefinition Height="65" />
<RowDefinition /> <RowDefinition />
</Grid.RowDefinitions> </Grid.RowDefinitions>
@ -294,10 +294,7 @@
</Grid> </Grid>
<!-- 内容区content --> <!-- 内容区content -->
<ContentControl <ContentControl Grid.Row="1" prism:RegionManager.RegionName="UserSpaceContentRegion" />
Grid.Row="1"
Margin="20,20,20,0"
prism:RegionManager.RegionName="UserSpaceContentRegion" />
</Grid> </Grid>
</Grid> </Grid>

Loading…
Cancel
Save