mirror of
https://github.com/microsoft/terminal.git
synced 2026-05-19 21:41:15 +00:00
for the sake of bookmarking: Add a manual copy of the TabView style
this is a copy of the TabView style as of today's main,
93e23c225c/dev/TabView/TabView.xaml
I'm gonna change this to see if we can fix this
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
|
||||
<!-- GH#13143: Make sure that the Background is actually TabViewBackground here, not Transparent. This is load bearing, for showTabsInTitlebar=false. -->
|
||||
|
||||
|
||||
<ContentPresenter.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="TabViewStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</ContentPresenter.Resources>
|
||||
|
||||
<mux:TabView x:Name="TabView"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
@@ -22,6 +31,7 @@
|
||||
CanDragTabs="True"
|
||||
CanReorderTabs="True"
|
||||
IsAddTabButtonVisible="false"
|
||||
Style="{StaticResource MyTabViewStyle}"
|
||||
TabWidthMode="Equal">
|
||||
|
||||
<mux:TabView.TabStripHeader>
|
||||
|
||||
1034
src/cascadia/TerminalApp/TabViewStyles.xaml
Normal file
1034
src/cascadia/TerminalApp/TabViewStyles.xaml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -60,6 +60,9 @@
|
||||
<Page Include="CommandPalette.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="TabViewStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<!-- ========================= Headers ======================== -->
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user