ux: z order of horizontal indicator line

This commit is contained in:
leo 2024-06-23 17:30:47 +08:00
parent dca8f8b39b
commit ee6c360dc9
No known key found for this signature in database

View file

@ -14,6 +14,13 @@
CornerRadius="4"> CornerRadius="4">
<Grid RowDefinitions="*,Auto"> <Grid RowDefinitions="*,Auto">
<Grid Grid.Row="0"> <Grid Grid.Row="0">
<Rectangle x:Name="SubjectGuideLine"
Height="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
IsHitTestVisible="False"
Fill="{DynamicResource Brush.Border2}"/>
<ae:TextEditor x:Name="TextEditor" <ae:TextEditor x:Name="TextEditor"
Foreground="{DynamicResource Brush.FG1}" Foreground="{DynamicResource Brush.FG1}"
Background="Transparent" Background="Transparent"
@ -31,13 +38,6 @@
Margin="2,1" Margin="2,1"
IsVisible="{Binding #ThisControl.Text, Converter={x:Static StringConverters.IsNullOrEmpty}}" IsVisible="{Binding #ThisControl.Text, Converter={x:Static StringConverters.IsNullOrEmpty}}"
IsHitTestVisible="False"/> IsHitTestVisible="False"/>
<Rectangle x:Name="SubjectGuideLine"
Height="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
IsHitTestVisible="False"
Fill="{DynamicResource Brush.Border2}"/>
</Grid> </Grid>
<Border Grid.Row="1" CornerRadius="0,0,4,4" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource Brush.Border2}" Background="{DynamicResource Brush.Window}" ClipToBounds="True"> <Border Grid.Row="1" CornerRadius="0,0,4,4" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource Brush.Border2}" Background="{DynamicResource Brush.Window}" ClipToBounds="True">