Skip to content

Commit

Permalink
Revert "解除竖向锁定,调整UI"
Browse files Browse the repository at this point in the history
This reverts commit aec6928.
  • Loading branch information
mujianwu committed Jul 31, 2024
1 parent 32a2580 commit 3298801
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
3 changes: 1 addition & 2 deletions UotanToolbox/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public override void OnFrameworkInitializationCompleted()
var mainVm = _provider?.GetRequiredService<MainViewModel>();

desktop.MainWindow = viewLocator?.Build(mainVm) as Window;
desktop.MainWindow.MinWidth = 1220;
desktop.MainWindow.MaxWidth = 1220;
desktop.MainWindow.Width = 1240;
desktop.MainWindow.Height = 840;
}

Expand Down
6 changes: 3 additions & 3 deletions UotanToolbox/Features/Appmgr/AppmgrView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<WrapPanel Margin="15"
theme:WrapPanelExtensions.AnimatedScroll="True"
Orientation="Horizontal">
<suki:GlassCard Height="205" Width="464.25" HorizontalAlignment="Left" Margin="10 15" VerticalAlignment="Top">
<suki:GlassCard Height="205" Width="464.25" HorizontalAlignment="Left" Margin="15" VerticalAlignment="Top">
<StackPanel Spacing="10">
<TextBlock HorizontalAlignment="Left"
FontSize="15"
Expand Down Expand Up @@ -119,7 +119,7 @@
</StackPanel>
</suki:GlassCard>

<Grid Margin="20 15 13 15">
<Grid Margin="15">
<suki:GlassCard Width="464.25"
Height="205"
VerticalAlignment="Top">
Expand Down Expand Up @@ -163,7 +163,7 @@
</Grid>

<suki:GlassCard Classes="Card"
Margin="10 15"
Margin="15"
Width="960"
Height="510">
<suki:BusyArea BusyText="{x:Static assets:Resources.Appmgr_Fetching}"
Expand Down
10 changes: 5 additions & 5 deletions UotanToolbox/Features/Modifypartition/ModifypartitionView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Margin="15"
theme:WrapPanelExtensions.AnimatedScroll="True"
Orientation="Horizontal">
<suki:GlassCard Classes="Card" Margin="10 15" Width="662">
<suki:GlassCard Classes="Card" Margin="15">
<suki:BusyArea Name="BusyPart"
BusyText="载入中...">
<DataGrid Name="PartList"
Expand All @@ -28,7 +28,7 @@
</suki:BusyArea>
</suki:GlassCard>
<StackPanel Orientation="Vertical">
<suki:GlassCard Classes="Card" Margin="20 15 15 15" Width="265" Height="180">
<suki:GlassCard Classes="Card" Margin="15" Width="265" Height="180">
<StackPanel Orientation="Vertical" Spacing="5">
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Top"
Expand Down Expand Up @@ -64,7 +64,7 @@
</StackPanel>
</StackPanel>
</suki:GlassCard>
<suki:GlassCard Classes="Card" Margin="20 15 15 15" Width="265" Height="400">
<suki:GlassCard Classes="Card" Margin="15" Width="265" Height="400">
<StackPanel Orientation="Vertical" Spacing="20">
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Top"
Expand Down Expand Up @@ -110,7 +110,7 @@
</StackPanel>
</suki:GlassCard>
</StackPanel>
<suki:GlassCard Classes="Card" Margin="10 15" Height="100" Width="662">
<suki:GlassCard Classes="Card" Margin="15" Height="100" Width="662.5">
<StackPanel Orientation="Horizontal" Spacing="0">
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Spacing="10">
<StackPanel Orientation="Horizontal" Spacing="30">
Expand Down Expand Up @@ -145,7 +145,7 @@
</Button>
</StackPanel>
</suki:GlassCard>
<suki:GlassCard Classes="Card" Margin="20 15 15 15" Width="265" Height="100" VerticalAlignment="Center">
<suki:GlassCard Classes="Card" Margin="15" Width="265" Height="100" VerticalAlignment="Center">
<StackPanel Orientation="Vertical" Spacing="15" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="10">
<Button Width="200"
Expand Down
20 changes: 10 additions & 10 deletions UotanToolbox/Features/Others/OthersView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Orientation="Horizontal">
<suki:GlassCard Width="320"
Height="310"
Margin="10 10 15 10"
Margin="15, 10"
VerticalAlignment="Top">
<suki:BusyArea Name="BusyDisplay"
BusyText="{x:Static assets:Resources.Others_Modifying}">
Expand Down Expand Up @@ -78,7 +78,7 @@
</suki:GlassCard>
<suki:GlassCard Width="320"
Height="310"
Margin="10 10 15 10"
Margin="10"
VerticalAlignment="Top">
<suki:BusyArea Name="BusyBattery"
BusyText="{x:Static assets:Resources.Others_Modifying}">
Expand Down Expand Up @@ -190,15 +190,15 @@
</suki:BusyArea>
</suki:GlassCard>

<suki:GlassCard Width="960"
<suki:GlassCard Width="955"
Height="90"
Margin="10"
Margin="15,10"
VerticalAlignment="Top">
<StackPanel Orientation="Horizontal">
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Top"
FontWeight="DemiBold"
Margin="15,15,0,0"
Margin="0,15,0,0"
Text="{x:Static assets:Resources.Others_IconHide}" />
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Margin="30,0,0,0" Spacing="10">
<StackPanel Orientation="Horizontal" Spacing="0">
Expand All @@ -224,9 +224,9 @@
</StackPanel>
</suki:GlassCard>

<suki:GlassCard Width="960"
<suki:GlassCard Width="955"
Height="310"
Margin="10"
Margin="15,10"
VerticalAlignment="Top">
<Grid>
<StackPanel Orientation="Vertical" Spacing="10">
Expand Down Expand Up @@ -323,7 +323,7 @@
TickFrequency="0.01"
Value="{Binding WindowScale}" />
<TextBlock Width="70"
Margin="21,0,0,0"
Margin="16,0,0,0"
VerticalAlignment="Center"
FontSize="13"
Text="{x:Static assets:Resources.Others_SetScale}" />
Expand Down Expand Up @@ -386,7 +386,7 @@
TickFrequency="0.01"
Value="{Binding TransitionScale}" />
<TextBlock Width="70"
Margin="21,0,0,0"
Margin="16,0,0,0"
VerticalAlignment="Center"
FontSize="13"
Text="{x:Static assets:Resources.Others_SetScale}" />
Expand Down Expand Up @@ -449,7 +449,7 @@
TickFrequency="0.01"
Value="{Binding AnimationLast}" />
<TextBlock Width="70"
Margin="21,0,0,0"
Margin="16,0,0,0"
VerticalAlignment="Center"
FontSize="13"
Text="{x:Static assets:Resources.Others_SetScale}" />
Expand Down
1 change: 1 addition & 0 deletions UotanToolbox/MainView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
BackgroundShaderFile="{Binding CustomShaderFile}"
BackgroundStyle="{Binding BackgroundStyle}"
BackgroundTransitionsEnabled="{Binding TransitionsEnabled}"
CanResize="False"
Icon="Assets/OIG.N5o-removebg-preview.png"
IsMenuVisible="False"
mc:Ignorable="d">
Expand Down

0 comments on commit 3298801

Please sign in to comment.