mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
style: 优化界面布局
This commit is contained in:
@@ -26,8 +26,9 @@
|
||||
VerticalAlignment="Center">
|
||||
<StackPanel
|
||||
Grid.Row="0"
|
||||
Margin="0,10,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top" Margin="0,10,0,0">
|
||||
VerticalAlignment="Top">
|
||||
<CheckBox
|
||||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<CheckBox
|
||||
Margin="10"
|
||||
Content="{DynamicResource DrGrandet}"
|
||||
IsChecked="{Binding IsDrGrandet}"
|
||||
ToolTip="{DynamicResource DrGrandetTip}"
|
||||
Margin="10" />
|
||||
ToolTip="{DynamicResource DrGrandetTip}" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
|
||||
@@ -105,9 +105,9 @@
|
||||
Margin="10"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
IsEnabled="{Binding RoguelikeInvestmentEnabled}"
|
||||
Content="{DynamicResource StopOnGoldLimit}"
|
||||
IsChecked="{Binding RoguelikeStopWhenInvestmentFull}" />
|
||||
IsChecked="{Binding RoguelikeStopWhenInvestmentFull}"
|
||||
IsEnabled="{Binding RoguelikeInvestmentEnabled}" />
|
||||
|
||||
<Grid
|
||||
Grid.Row="5"
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
d:DesignWidth="800"
|
||||
AllowDrop="True"
|
||||
Drop="{s:Action DropFile}"
|
||||
MouseDown="{s:Action MouseDown}"
|
||||
KeyDown="{s:Action KeyDown}"
|
||||
MouseDown="{s:Action MouseDown}"
|
||||
mc:Ignorable="d">
|
||||
<Grid Margin="20" Background="White">
|
||||
<Grid.ColumnDefinitions>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
xmlns:vm="clr-namespace:MeoAsstGui;assembly=MeoAsstGui"
|
||||
Title="{Binding WindowTitle}"
|
||||
Width="800"
|
||||
MinWidth="800"
|
||||
Height="600"
|
||||
MinWidth="800"
|
||||
MinHeight="600"
|
||||
d:DataContext="{d:DesignInstance {x:Type vm:RootViewModel}}"
|
||||
mc:Ignorable="d">
|
||||
|
||||
@@ -134,18 +134,16 @@
|
||||
</Grid>
|
||||
<Grid Grid.Row="2" Height="60">
|
||||
<Button
|
||||
Width="100"
|
||||
Height="50"
|
||||
MinWidth="100"
|
||||
MaxWidth="100"
|
||||
Margin="5"
|
||||
Command="{s:Action LinkStart}"
|
||||
Content="{DynamicResource LinkStart}"
|
||||
IsEnabled="{Binding Inited}"
|
||||
Visibility="{c:Binding Path='Idle or !Inited'}" />
|
||||
<Button
|
||||
Width="100"
|
||||
Height="50"
|
||||
MinWidth="100"
|
||||
MaxWidth="100"
|
||||
Margin="5"
|
||||
Command="{s:Action Stop}"
|
||||
Content="{DynamicResource Stop}"
|
||||
@@ -186,7 +184,7 @@
|
||||
<ScrollViewer
|
||||
Grid.Column="2"
|
||||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Top"
|
||||
local:AutoScroll.AutoScroll="True"
|
||||
HorizontalScrollBarVisibility="Disabled">
|
||||
|
||||
Reference in New Issue
Block a user