mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Launcher>: use TextBlock instead of Label to fix special characters like '_' disappeared in tabs
This commit is contained in:
parent
70d98d5824
commit
be4fd6c59a
1 changed files with 4 additions and 4 deletions
|
@ -123,21 +123,21 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Width="14" Height="14"
|
Width="14" Height="14"
|
||||||
Fill="{Binding Color, Converter={StaticResource IntToRepoColor}}"
|
Fill="{Binding Color, Converter={StaticResource IntToRepoColor}}"
|
||||||
|
|
||||||
Data="{StaticResource Icon.Bookmark}"
|
Data="{StaticResource Icon.Bookmark}"
|
||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
|
|
||||||
<Label
|
<TextBlock
|
||||||
x:Name="Title"
|
x:Name="Title"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Content="{Binding Title}"
|
Text="{Binding Title}"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Margin="4,0"
|
||||||
Foreground="{StaticResource Brush.FG1}" FontFamily="Consolas" FontWeight="Bold"/>
|
Foreground="{StaticResource Brush.FG1}" FontFamily="Consolas" FontWeight="Bold"/>
|
||||||
|
|
||||||
<Button Grid.Column="3" Click="CloseTab" Width="16" Height="16" VerticalAlignment="Center" ToolTip="{StaticResource Text.Close}" Style="{StaticResource Style.Button.HighlightHover}">
|
<Button Grid.Column="3" Click="CloseTab" Width="16" Height="16" VerticalAlignment="Center" ToolTip="{StaticResource Text.Close}" Style="{StaticResource Style.Button.HighlightHover}">
|
||||||
<Path
|
<Path
|
||||||
Width="8" Height="8"
|
Width="8" Height="8"
|
||||||
Fill="{StaticResource Brush.FG1}"
|
Fill="{StaticResource Brush.FG1}"
|
||||||
|
|
||||||
Data="{StaticResource Icon.Close}"/>
|
Data="{StaticResource Icon.Close}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue