Skip to content

Commit 3b98109

Browse files
committed
fixed gap
1 parent 159672d commit 3b98109

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/TabView/TabViewItem.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ void TabViewItem::UpdateTabGeometry()
105105
{
106106
auto const templateSettings = winrt::get_self<TabViewItemTemplateSettings>(TabViewTemplateSettings());
107107

108-
auto const height = ActualHeight();
108+
// Need to increment actual height by 1 due to 'SelectedBackgroundPath' not being drawn correctly in non-100% scale factors
109+
auto const height = ActualHeight() + 1;
109110
auto const popupRadius = unbox_value<winrt::CornerRadius>(ResourceAccessor::ResourceLookup(*this, box_value(c_overlayCornerRadiusKey)));
110111
auto const leftCorner = popupRadius.TopLeft;
111112
auto const rightCorner = popupRadius.TopRight;

0 commit comments

Comments
 (0)