쿼리 편집기 — 줄번호 홈통·구분선·결과 표 스타일

크기가 아니라 스타일이 달랐던 부분을 고쳤다.

· 줄번호 홈통에 회색 면(B.Chip)을 깔았다. 본문과 같은 흰 면이라 홈통이 있는지 안 보였다.
· 편집 상자의 모서리 라운드를 없앴다. 둥글리면 클리핑 때문에 홈통의 회색 면과
  본문 사이 구분선까지 함께 휘어 보인다 — 지목된 그 선이다. 구분선도 B.Line2 로 또렷하게.
· 결과 표: 바깥 테두리를 표가 아니라 감싸는 상자가 그리게 하고, 격자를 가로선만 남겼다.
  세로선까지 그으면 컬럼이 52개인 조회에서 화면이 격자로 가득 찬다.
  머리글은 회색 면 + 아래·오른쪽 경계만, 행 높이 38, 셀 여백 12.

회귀: 편집 스모크 실패 0, 팝업·정렬·결과표·단축키 점검 16/16, 종이 렌더 P062 바이트 동일.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Msystech
2026-08-13 16:41:04 +09:00
co-authored by Claude Opus 5
parent a4acfe4469
commit 069d228de3
@@ -64,35 +64,39 @@
<Setter Property="AutoGenerateColumns" Value="True"/>
<Setter Property="IsReadOnly" Value="True"/>
<Setter Property="HeadersVisibility" Value="Column"/>
<Setter Property="GridLinesVisibility" Value="All"/>
<!-- 목업의 표: 바깥 테두리는 감싸는 상자가 이미 그리므로 표 자체는 그리지 않는다.
줄은 가로만 — 세로선까지 그으면 컬럼이 52개인 조회에서 화면이 격자로 가득 찬다. -->
<Setter Property="GridLinesVisibility" Value="Horizontal"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="RowHeight" Value="40"/>
<Setter Property="RowHeight" Value="38"/>
<Setter Property="ColumnHeaderHeight" Value="38"/>
<Setter Property="Background" Value="{DynamicResource B.Surface}"/>
<Setter Property="BorderBrush" Value="{DynamicResource B.InputBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="RowBackground" Value="{DynamicResource B.Surface}"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="HorizontalGridLinesBrush" Value="{DynamicResource B.Line}"/>
<Setter Property="VerticalGridLinesBrush" Value="{DynamicResource B.Line}"/>
<Setter Property="ColumnHeaderStyle">
<Setter.Value>
<Style TargetType="DataGridColumnHeader">
<Setter Property="Background" Value="{DynamicResource B.Input}"/>
<Setter Property="Background" Value="{DynamicResource B.Chip}"/>
<Setter Property="Foreground" Value="{DynamicResource B.Ink}"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="Padding" Value="10,7"/>
<Setter Property="BorderBrush" Value="{DynamicResource B.InputBorder}"/>
<Setter Property="FontSize" Value="12.5"/>
<Setter Property="Padding" Value="12,0"/>
<Setter Property="BorderBrush" Value="{DynamicResource B.Line2}"/>
<Setter Property="BorderThickness" Value="0,0,1,1"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
</Style>
</Setter.Value>
</Setter>
<Setter Property="CellStyle">
<Setter.Value>
<Style TargetType="DataGridCell">
<Setter Property="Padding" Value="10,0"/>
<Setter Property="Padding" Value="12,0"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Foreground" Value="{DynamicResource B.Ink}"/>
<Setter Property="Background" Value="Transparent"/>
</Style>
</Setter.Value>
</Setter>
@@ -228,23 +232,28 @@
<TextBlock x:Name="TrialSummary" FontSize="12.5" TextWrapping="Wrap"
VerticalAlignment="Center"/>
</DockPanel>
<DataGrid x:Name="TrialGrid" Style="{StaticResource ResultGrid}" MaxHeight="200"
AutomationProperties.Name="검증 결과 표본"/>
<!-- 표를 감싸는 테두리 — 표 자체는 테두리를 그리지 않는다(위 스타일) -->
<Border BorderThickness="1" BorderBrush="{DynamicResource B.Line2}">
<DataGrid x:Name="TrialGrid" Style="{StaticResource ResultGrid}" MaxHeight="200"
AutomationProperties.Name="검증 결과 표본"/>
</Border>
</DockPanel>
</DockPanel>
</Border>
<!-- 편집 영역: 색칠 레이어 + 투명 TextBox -->
<Border BorderThickness="1" CornerRadius="8" ClipToBounds="True"
<!-- 모서리를 둥글리지 않는다. 둥글리면 클리핑 때문에 줄번호 칸의 회색 면과
본문 사이 구분선까지 함께 휘어 보인다. -->
<Border BorderThickness="1" CornerRadius="0"
BorderBrush="{DynamicResource B.InputBorder}" Background="{DynamicResource B.Input}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- 줄 번호 — 본문과 세로선으로 가른다(목업의 구분선) -->
<Border Grid.Column="0" Background="{DynamicResource B.Surface}" Padding="16,14,12,14"
BorderThickness="0,0,1,0" BorderBrush="{DynamicResource B.Line}">
<!-- 줄 번호 홈통 — 회색 면 + 곧은 세로 구분선 -->
<Border Grid.Column="0" Background="{DynamicResource B.Chip}" Padding="16,14,12,14"
BorderThickness="0,0,1,0" BorderBrush="{DynamicResource B.Line2}">
<TextBlock x:Name="LineNumbers" FontFamily="D2Coding, 굴림체, Consolas" FontSize="14.5"
Foreground="{DynamicResource B.Muted}" TextAlignment="Right" MinWidth="20"/>
</Border>