Skip to content

Commit 961f8d2

Browse files
committed
fixed gap
1 parent 8d59449 commit 961f8d2

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
@@ -104,7 +104,8 @@ void TabViewItem::UpdateTabGeometry()
104104
{
105105
auto const templateSettings = winrt::get_self<TabViewItemTemplateSettings>(TabViewTemplateSettings());
106106

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

0 commit comments

Comments
 (0)