-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with TabPaneFooter Width/MinWidth not being respected (#3531)
* Fix bug where app in minimal mode would show pane on NavigationView * Add test * Fix issue with sizing of TabPaneFooter not being respected when changed after layout * Rename function * Use helper for registering callback * update nits * fix bad merge --------- Co-authored-by: Karen Lai <biilai@microsoft.com>
- Loading branch information
Showing
12 changed files
with
438 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
<Page | ||
x:Class="MUXControlsTestApp.TabViewAppwindowPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
mc:Ignorable="d" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> | ||
<muxc:TabView x:Name="Tabs" | ||
VerticalAlignment="Stretch" | ||
AddTabButtonClick="Tabs_AddTabButtonClick" | ||
TabCloseRequested="Tabs_TabCloseRequested" | ||
AllowDropTabs="True" | ||
CanDragTabs="True" | ||
CanReorderTabs="True" | ||
TabDroppedOutside="Tabs_TabDroppedOutside" | ||
TabStripDragOver="Tabs_TabStripDragOver" | ||
TabStripDrop="Tabs_TabStripDrop" | ||
TabDragStarting="Tabs_TabDragStarting" > | ||
|
||
<muxc:TabView.TabStripHeader> | ||
<Grid x:Name="ShellTitlebarInset" Background="Transparent" /> | ||
</muxc:TabView.TabStripHeader> | ||
<muxc:TabView.TabStripFooter> | ||
<Grid x:Name="CustomDragRegion" Background="Transparent" /> | ||
</muxc:TabView.TabStripFooter> | ||
</muxc:TabView> | ||
</Grid> | ||
</Page> |
Oops, something went wrong.