ux: OpenAI button layout

This commit is contained in:
leo 2024-09-12 11:50:57 +08:00
parent b09d1d46c9
commit dcddc5a2f2
No known key found for this signature in database

View file

@ -185,15 +185,15 @@
<Button Grid.Column="1" <Button Grid.Column="1"
Classes="icon_button" Classes="icon_button"
Width="32" Width="32"
Margin="4,0,0,0" Margin="4,2,0,0"
Click="OnOpenAIAssist" Click="OnOpenAIAssist"
ToolTip.Tip="{DynamicResource Text.AIAssistant.Tip}"> ToolTip.Tip="{DynamicResource Text.AIAssistant.Tip}">
<Path Width="14" Height="14" Data="{StaticResource Icons.AIAssist}"/> <Path Width="15" Height="15" Data="{StaticResource Icons.AIAssist}"/>
</Button> </Button>
<CheckBox Grid.Column="2" <CheckBox Grid.Column="2"
Height="24" Height="24"
Margin="8,0,0,0" Margin="4,0,0,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
IsChecked="{Binding AutoStageBeforeCommit, Mode=TwoWay}" IsChecked="{Binding AutoStageBeforeCommit, Mode=TwoWay}"
Content="{DynamicResource Text.WorkingCopy.AutoStage}"/> Content="{DynamicResource Text.WorkingCopy.AutoStage}"/>