Skip to content

Commit 48a76fc

Browse files
committed
removed tooltip
1 parent c6591b2 commit 48a76fc

2 files changed

Lines changed: 15 additions & 32 deletions

File tree

.idea/.idea.CutCode/.idea/workspace.xml

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CutCode.CrossPlatform/Views/MainWindow.axaml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -115,36 +115,10 @@
115115
<Setter Property="Width" Value="45"/>
116116
<Setter Property="Margin" Value="5,0,0,0"/>
117117
</Style>
118-
<Style Selector="TabItem ToolTip">
119-
<Setter Property="Padding" Value="10 7 10 7"/>
120-
<Setter Property="CornerRadius" Value="5,5,5,5"/>
121-
<Setter Property="BorderThickness" Value="0"/>
122-
<Setter Property="FontSize" Value="14"/>
123-
<Setter Property="Foreground" Value="{Binding $parent[TabControl].Foreground}"/>
124-
<Setter Property="Background" Value="{Binding $parent[TabControl].Background}"/>
125-
<Setter Property="Template">
126-
<ControlTemplate>
127-
<StackPanel Orientation="Horizontal" Spacing="0">
128-
<Viewbox VerticalAlignment="Center" Height="15">
129-
<Path Stretch="UniformToFill" Fill="{TemplateBinding Background}" Data="F1M130.5,-175L137.5,-169.837493896484 137.5,-29.9124984741211 130.75,-25.0000019073486 62.5,-95.3375015258789 62.5,-105.675003051758 130.5,-175z"/>
130-
</Viewbox>
131-
<ContentPresenter Name="PART_ContentPresenter"
132-
Background="{TemplateBinding Background}"
133-
BorderBrush="{TemplateBinding BorderBrush}"
134-
BorderThickness="{TemplateBinding BorderThickness}"
135-
CornerRadius="{TemplateBinding CornerRadius}"
136-
ContentTemplate="{TemplateBinding ContentTemplate}"
137-
Content="{TemplateBinding Content}"
138-
Padding="{TemplateBinding Padding}"/>
139-
</StackPanel>
140-
</ControlTemplate>
141-
</Setter>
142-
</Style>
143118
</TabControl.Styles>
144119
<TabControl.ItemTemplate>
145120
<DataTemplate>
146-
<Viewbox Height="25" Width="25" Margin="3,0,0,0"
147-
ToolTip.Tip="{Binding ToolTip}" ToolTip.HorizontalOffset="28" ToolTip.VerticalOffset="0">
121+
<Viewbox Height="25" Width="25" Margin="3,0,0,0">
148122
<Path Fill="{Binding PathColor, Converter={StaticResource ColorToBrushConverter}}"
149123
Data="{Binding Path, Converter={StaticResource StringToGeometryConverter}}"/>
150124
</Viewbox>

0 commit comments

Comments
 (0)