dotnet / dotnet/maui

[Enhancement] Shell TItleBar(?) text with tabbed and non tabbed content

Open
#5,683 2 comments 0 reactions 0 assignees View on GitHub
area-controls-shell proposal/open
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

The Shell content titlebar(at least I think that's what it is) at the top, underneath the main titlebar(what are the plans for this with desktop apps btw?), should display differently according to what content is being displayed. When using Tabbed content, Tab uses the title of the first ShellContent page as the title text. I'm not sure if that's intended behavior, or a bug, but I feel like with Tabbed content, the title should be the FlyoutItem's title. Using the ShellContent page titles is redundant. The name of the first page will be in the titlebar AND the tab text. When the content of a FlyoutItem is just a single page, that would make sense to use the page's title, but in reality, it should still use the FlyoutItem's title. Feel free to guide me, but isn't the purpose of the titlebar to be in correlation with the FlyoutOut, or no?

A work around for this, is to name every ShellContent's Page.Title in my FlyoutItem the same name as the FlyoutItem.Title, and then it's 100% the way I think it should be. Open to any criticism and comments by all means.

Also, is it possible to change the titlebar color from black?

Example:
![shell_content_title](https://user-images.githubusercontent.com/55720292/160925665-5c2b2f8d-4e4e-4408-a441-112b6da90dcc.png)

### Public API Changes

n/a

### Intended Use-Case

n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.