Phase 0 (T1-3/4/7/9/11): find bar w/ native Find API + search engine + site zoom + force reload + F11, wired into MainWindow, E2E smoke (39 tests)
This commit is contained in:
parent
470c9267f2
commit
00a822eaeb
11 changed files with 584 additions and 18 deletions
|
|
@ -159,7 +159,7 @@
|
|||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- ===== 상단 툴바 (슬림, 전체가 드래그 핸들) ===== -->
|
||||
<Border Grid.Row="0" Background="{StaticResource PanelBg}"
|
||||
<Border x:Name="ToolbarRow" Grid.Row="0" Background="{StaticResource PanelBg}"
|
||||
BorderBrush="{StaticResource AccentFadeBrush}" BorderThickness="0,0,0,2" Padding="20,9,0,9"
|
||||
PreviewMouseLeftButtonDown="TitleBar_PreviewMouseLeftButtonDown">
|
||||
<DockPanel>
|
||||
|
|
@ -217,9 +217,45 @@
|
|||
<ColumnDefinition x:Name="RightCol" Width="420" MinWidth="56" MaxWidth="900"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Border Grid.Column="0" ClipToBounds="True" Background="Black">
|
||||
<wv2:WebView2 Name="Browser"/>
|
||||
</Border>
|
||||
<Grid Grid.Column="0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Border Grid.Row="0" ClipToBounds="True" Background="Black">
|
||||
<wv2:WebView2 Name="Browser"/>
|
||||
</Border>
|
||||
|
||||
<!-- 페이지 내 검색 바 (T1-3): WebView2(airspace) 아래에 도킹 -->
|
||||
<Border x:Name="FindBar" Grid.Row="1" Visibility="Collapsed"
|
||||
Background="{StaticResource PanelBg}" BorderBrush="{StaticResource BorderSubtle}"
|
||||
BorderThickness="0,1,0,0" Padding="12,6">
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<CheckBox x:Name="FindCaseBox" Style="{StaticResource DarkCheckBox}" Content="Aa"
|
||||
ToolTip="대소문자 구분" Margin="0,0,8,0" VerticalAlignment="Center"
|
||||
Checked="FindOption_Changed" Unchecked="FindOption_Changed"/>
|
||||
<CheckBox x:Name="FindWordBox" Style="{StaticResource DarkCheckBox}" Content="단어"
|
||||
ToolTip="전체 단어 일치" Margin="0,0,10,0" VerticalAlignment="Center"
|
||||
Checked="FindOption_Changed" Unchecked="FindOption_Changed"/>
|
||||
<Border Background="{StaticResource GlassBg}" BorderBrush="{StaticResource BorderBrush}"
|
||||
BorderThickness="1" CornerRadius="7" Width="230">
|
||||
<TextBox x:Name="FindBox" Style="{StaticResource DarkTextBox}" BorderThickness="0"
|
||||
Background="Transparent" Padding="10,4" FontSize="12.5"
|
||||
VerticalContentAlignment="Center"
|
||||
TextChanged="FindBox_TextChanged" PreviewKeyDown="FindBox_PreviewKeyDown"/>
|
||||
</Border>
|
||||
<Button Style="{StaticResource IconButton}" Content="" ToolTip="이전 매치 (Shift+F3)"
|
||||
Margin="6,0,0,0" Click="FindPrev_Click"/>
|
||||
<Button Style="{StaticResource IconButton}" Content="" ToolTip="다음 매치 (F3)"
|
||||
Margin="2,0,0,0" Click="FindNext_Click"/>
|
||||
<TextBlock x:Name="FindStatus" Text="" Foreground="{StaticResource TextMuted}" FontSize="11.5"
|
||||
VerticalAlignment="Center" Margin="10,0,4,0" MinWidth="52"/>
|
||||
<Button Style="{StaticResource IconButton}" Content="" ToolTip="닫기 (Esc)"
|
||||
Click="FindClose_Click"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
<!-- 리사이즈 핸들 (펼침 상태에서만 노출). 드래그로 우측 패널 폭 변경. -->
|
||||
<GridSplitter x:Name="RightSplitter" Grid.Column="1" Width="7"
|
||||
|
|
@ -284,7 +320,7 @@
|
|||
</Grid>
|
||||
|
||||
<!-- ===== 상태 표시줄 ===== -->
|
||||
<Border Grid.Row="2" Background="{StaticResource PanelBg}"
|
||||
<Border x:Name="StatusBar" Grid.Row="2" Background="{StaticResource PanelBg}"
|
||||
BorderBrush="{StaticResource BorderSubtle}" BorderThickness="0,1,0,0" Padding="16,5">
|
||||
<TextBlock Name="StatusText" Foreground="{StaticResource TextMuted}" FontSize="11"
|
||||
TextTrimming="CharacterEllipsis" Text="준비"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue