Closed Bug 1747217 Opened 4 years ago Closed 4 years ago

On Mac use draw in titlebar for the standalone window

Categories

(Thunderbird :: Theme, task)

task

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
97 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file, 2 obsolete files)

On Mac the standalone window never got the drawInTitlebar like the composer or the AB. It's time to do it.

This enables the drawInTitlebar for macOS. There is no more a separate title bar visible.
I also removed the unneeded GTK titlebar code which isn't used in this window.

I have already a patch ready that will remove the navigation-toolbox from stand-alone window (Bug 1487021). But lets do this first to have a cleaner change history.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9256511 - Flags: review?(alessandro)

Fixed a Fluent issue.

Attachment #9256511 - Attachment is obsolete: true
Attachment #9256511 - Flags: review?(alessandro)
Attachment #9256572 - Flags: review?(alessandro)
Comment on attachment 9256572 [details] [diff] [review] 1747217-drawInTitlebar-standalone.patch Review of attachment 9256572 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks. ::: mail/base/content/messageWindow.xhtml @@ +201,4 @@ > #ifdef XP_MACOSX > + <hbox id="titlebar"> > + <hbox id="titlebar-title" align="center" flex="1"> > + <label id="titlebar-title-label" value="&titledefault.label;" flex="1"/> nit: crop="end" on the label. @@ +203,5 @@ > + <hbox id="titlebar-title" align="center" flex="1"> > + <label id="titlebar-title-label" value="&titledefault.label;" flex="1"/> > + </hbox> > +#include messenger-titlebar-items.inc.xhtml > + </hbox> nit: indent the titlebar and child elements by 2 more spaces ::: mail/themes/osx/mail/messageWindow.css @@ +31,5 @@ > +} > + > +#titlebar-title { > + text-align: center; > + /* Equalize the titlebar-buttonbox width */ nit: double space before "the"
Attachment #9256572 - Flags: review?(alessandro) → review+

Fixed the review comments.

Attachment #9256572 - Attachment is obsolete: true
Attachment #9256679 - Flags: review+
Target Milestone: --- → 97 Branch

Pushed by richard.marti@gmail.com:
https://hg.mozilla.org/comm-central/rev/08af090e353e
On Mac use draw in titlebar for the stand-alone window. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: