Skip to content

ToolBar.title widget doesn't avoid the window controls when hiding the native titlebar  #371

@GroovinChip

Description

@GroovinChip

Description

In an app that:

A) hides the native titlebar
B) does not use a sidebar

the ToolBar.title widget collides with the window controls, like so:
image

Code sample

MacosWindow(
  child: MacosScaffold(
    toolBar: const ToolBar(
      title: Text('App'),
    ),
    children: [
      ContentArea(
        builder: (context, _) {
          return const SizedBox.shrink();
        },
      ),
    ],
  ),
),

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions