Skip to content

Commit

Permalink
Fixes compability style for ScrollableTabControl
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Nov 19, 2023
1 parent fe86323 commit 1cbaf18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
</ResourceDictionary>
</Styles.Resources>

<!-- BUG: Fix ScrollableTabControl theme -->
<!-- <Style Selector="TabControl.Scrollable, TabControl.scrollable"> -->
<!-- <Setter Property="Control.Theme" Value="{StaticResource ScrollableTabControl}"/> -->
<!-- </Style> -->
</Styles>
<Style Selector="TabControl.Scrollable, TabControl.scrollable">
<Setter Property="Control.Theme" Value="{StaticResource ScrollableTabControl}" />
</Style>
</Styles>
2 changes: 1 addition & 1 deletion Material.Styles/Resources/Themes/TabControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<ControlTheme x:Key="{x:Type TabControl}" TargetType="TabControl"
BasedOn="{StaticResource MaterialTabControl}" />

<!-- BUG: Fix ScrollableTabControl theme -->

<!-- TODO: Still need support for TabControlAssist.TabHeader*Alignment -->
<!-- Scrollable tab control -->
<ControlTheme x:Key="ScrollableTabControl"
Expand Down

0 comments on commit 1cbaf18

Please sign in to comment.