Browse Source

Added ability to hide the header of a TabControl

Kenric Nugteren 1 week ago
parent
commit
10242ed37f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      InABox.Avalonia/Theme/Classes/TabItem.axaml

+ 4 - 0
InABox.Avalonia/Theme/Classes/TabItem.axaml

@@ -48,6 +48,10 @@
 		<Setter Property="CornerRadius" Value="{DynamicResource PrsCornerRadius}"/>
 	</Style>
 	
+	<Style Selector="TabControl.HideHeader Border#PART_HeaderBorder">
+		<Setter Property="IsVisible" Value="False"/>
+	</Style>
+	
 	<Style Selector="TabControl.Standard TabItem">
 		<!-- <Setter Property="Height" Value="0"/> -->
 		<Setter Property="MinHeight" Value="30"/>