Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell TitleView iOS #18

Open
tom-bybox opened this issue Dec 1, 2023 · 1 comment
Open

Shell TitleView iOS #18

tom-bybox opened this issue Dec 1, 2023 · 1 comment

Comments

@tom-bybox
Copy link

tom-bybox commented Dec 1, 2023

Dear PureWeen, thank you so much for all your work on MAUI, especially with this workaround NuGet package.

Despite the handy fixes I still have an issue with my MAUI app where the title view in the navigation stack fails to display correctly when popping the view off of the stack. If I have say a stack of 5 pages, it's only the last one that has the glitch - the title appears to disappear though I think it does this by setting it's background to white.

The view markup is as such:

<StackLayout 
    Style="{DynamicResource PageTitleHeaderStack}">
    <Label 
        Style="{DynamicResource PageTitleHeaderLabel}"
        Text="{Binding PageTitle}"
    />
</StackLayout>

etc

With style:

<Style TargetType="Label" x:Key="PageTitleHeaderLabel">
  <Setter Property="HorizontalOptions" Value="Start"/>
  <Setter Property="VerticalOptions" Value="Center"/>
  <Setter Property="TextColor" Value="White"/>
  <Setter Property="FontSize" Value="Medium"/>
  <Setter Property="FontFamily" Value="SofiaProRegular" />
  <Setter Property="FontAttributes" Value="None" />
  <Setter Property="HeightRequest" Value="22"/>
</Style>
@imran-bybox
Copy link

imran-bybox commented Mar 20, 2024

bump with screenshot

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants