Skip to content

[Enhancement] Allow arbitrary width leading widget in NavigationAppBar #1102

@nu11ptr

Description

@nu11ptr

Is your feature request related to a problem? Please describe.

On macOs (when suppressing the OS titlebar), I'm trying to get the actions and title widgets to not to be covered by the window controls, which are on the left. I tried to use leading, but it maxes out at a width of 50 due to it being put in a SizedBox, so is partially covered by the window controls.

Describe the solution you'd like

Either remove the extra SizedBox or make it wider so I can provide title and actions that are further over to the right.

https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/navigation_view/view.dart#L936

Describe alternatives you've considered

  • Tried to figure out how to get these other controls to layout further to the right but was unable to get it to do so
  • Currently, I just use the OS provided title bar, but I'd prefer to suppress it

I am new to Flutter, so if I missed a way to do this, let me know.

Additional context

Can provide a screenshot of the issue, if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions