C
C#2y ago
Sir Ruggie

❔ WinUI 3 Pivot Header Size

I've been trying to add an image and text in a Pivot Header and seems like no matter what I do, the Pivot Header cuts off part of the object
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Pivot Height="Auto">
<PivotItem>
<PivotItem.Header>
<StackPanel Height="Auto" VerticalAlignment="Top">
<TextBlock Text="Address" FontSize="15"/>
<Image Width="100" Height="100" Source="ms-appx:///Assets/Check_Main.png"/>
</StackPanel>
</PivotItem.Header>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Pivot Height="Auto">
<PivotItem>
<PivotItem.Header>
<StackPanel Height="Auto" VerticalAlignment="Top">
<TextBlock Text="Address" FontSize="15"/>
<Image Width="100" Height="100" Source="ms-appx:///Assets/Check_Main.png"/>
</StackPanel>
</PivotItem.Header>
2 Replies
sibber
sibber2y ago
you probably have to edit the style template
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server