lepoco / lepoco/wpfui

TitleBar no longer offers way to replace Title with complex content

Open
#775 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe

In the 3.0 previews, TitleBar's Header property has been changed in behavior. It now shows up to the right of the Title, whereas it used to be instead of it.

I would appreciate if we could get the old behavior back, perhaps as a separate property LeftHeader.

Describe the solution you'd like

It depends on what this new behavior is even good for; the gallery doesn't contain a sample.

I would be fine with a set of LeftHeader and RightHeader properties.

Describe alternatives you've considered

No response

Additional context

I use this to enable macOS-like two-line titles, e.g.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the TitleBar control and inspect how its Header property is rendered relative to the Title. Review the gallery for the current Header behavior, then determine whether separate LeftHeader and RightHeader properties can support the requested macOS-like two-line title without breaking existing usage. Done means complex content can replace or be positioned around the Title as intended and the behavior is demonstrated in the gallery.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.