From 7f352d86483c456f6059048d0b212522033634bf Mon Sep 17 00:00:00 2001 From: T Paine <30241445+teaP@users.noreply.github.com> Date: Wed, 11 Dec 2019 08:52:39 -0800 Subject: [PATCH] Fix to sizing issue when TabView is aligned left. (#1744) Fix to sizing issue when TabView is aligned left. Added test. --- dev/TabView/InteractionTests/TabViewTests.cs | 32 ++++++++ dev/TabView/TabView.cpp | 13 ++-- dev/TabView/TabView.h | 1 - dev/TabView/TestUI/TabViewSizingPage.xaml | 80 +++++++++++++++++++- dev/TabView/TestUI/TabViewSizingPage.xaml.cs | 16 ++++ 5 files changed, 132 insertions(+), 10 deletions(-) diff --git a/dev/TabView/InteractionTests/TabViewTests.cs b/dev/TabView/InteractionTests/TabViewTests.cs index ce6fd1cb09..9e4f3b679c 100644 --- a/dev/TabView/InteractionTests/TabViewTests.cs +++ b/dev/TabView/InteractionTests/TabViewTests.cs @@ -510,6 +510,38 @@ public void CloseButtonDoesNotShowWhenVisibilityIsToggled() } } + [TestMethod] + public void SizingTest() + { + using (var setup = new TestSetupHelper("TabView Tests")) + { + Button sizingPageButton = FindElement.ByName