- 상단 탭 버튼의 폰트, 패딩, 외곽선을 다시 키워 도톰한 pill 세그먼트 형태로 조정 - 탭 래퍼 배경과 선택 탭 배경을 LauncherBackground 기준으로 정리하고 채팅/코드 라벨을 한글로 복구 - README와 DEVELOPMENT 문서에 상단 탭 UI 복구 이력 및 검증 결과 반영 검증 결과 - dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\verify\ -p:IntermediateOutputPath=obj\verify\ - 경고 0 / 오류 0
This commit is contained in:
@@ -174,25 +174,31 @@
|
||||
<!-- 탭 버튼 -->
|
||||
<Style x:Key="TopTabBtn" TargetType="RadioButton">
|
||||
<Setter Property="Foreground" Value="{DynamicResource SecondaryText}"/>
|
||||
<Setter Property="FontSize" Value="12.5"/>
|
||||
<Setter Property="FontSize" Value="13.5"/>
|
||||
<Setter Property="FontWeight" Value="SemiBold"/>
|
||||
<Setter Property="Cursor" Value="Hand"/>
|
||||
<Setter Property="Padding" Value="18,7"/>
|
||||
<Setter Property="Margin" Value="2"/>
|
||||
<Setter Property="Padding" Value="20,8"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="RadioButton">
|
||||
<Border x:Name="Bd" Background="Transparent"
|
||||
<Border x:Name="Bd"
|
||||
Background="Transparent"
|
||||
BorderBrush="Transparent"
|
||||
BorderThickness="1"
|
||||
CornerRadius="999" Padding="{TemplateBinding Padding}">
|
||||
<ContentPresenter x:Name="Cp" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource ItemHoverBackground}"/>
|
||||
<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource BorderColor}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource PrimaryText}"/>
|
||||
</Trigger>
|
||||
<!-- IsChecked를 뒤에 두어 호버보다 선택 상태가 항상 우선 적용 -->
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource ItemSelectedBackground}"/>
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource LauncherBackground}"/>
|
||||
<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource BorderColor}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource PrimaryText}"/>
|
||||
<Setter Property="FontWeight" Value="Bold"/>
|
||||
</Trigger>
|
||||
@@ -1087,19 +1093,19 @@
|
||||
<!-- 중앙: 탭 메뉴 -->
|
||||
<Border Grid.Column="1"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Background="{DynamicResource ItemBackground}"
|
||||
Background="{DynamicResource LauncherBackground}"
|
||||
BorderBrush="{DynamicResource BorderColor}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="999" Padding="3"
|
||||
CornerRadius="999" Padding="4"
|
||||
WindowChrome.IsHitTestVisibleInChrome="True">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<RadioButton x:Name="TabChat" Content="Chat" Style="{StaticResource TopTabBtn}"
|
||||
<RadioButton x:Name="TabChat" Content="채팅" Style="{StaticResource TopTabBtn}"
|
||||
IsChecked="True" GroupName="TopTab"
|
||||
Checked="TabChat_Checked"/>
|
||||
<RadioButton x:Name="TabCowork" Content="Cowork" Style="{StaticResource TopTabBtn}"
|
||||
GroupName="TopTab"
|
||||
Checked="TabCowork_Checked"/>
|
||||
<RadioButton x:Name="TabCode" Content="Code" Style="{StaticResource TopTabBtn}"
|
||||
<RadioButton x:Name="TabCode" Content="코드" Style="{StaticResource TopTabBtn}"
|
||||
GroupName="TopTab"
|
||||
Checked="TabCode_Checked"/>
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user