-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 style PaneDisplayMode #82
Comments
I don't think adding a new display mode is a valid request. Natively, on XAML, we only have the ones we have in this package. I think a better request would maybe be "Custom pane width"? The padding can be custom using |
Yeah, that sounds like a good solution. Didn´t know about the |
Added an option to create custom panes: class CustomNavigationPane extends NavigationPaneWidget {
@override
Widget build(BuildContext context, NavigationPaneWidgetData data) {
return Row(children: [
SizedBox(width: 400),
Expanded(child: data.content),
]);
}
} And use it in your NavigationPane(
...
customPane: CustomNavigationPane(),
) You can create the panel as you wish, |
I really like the navigation UI seen in the new Windows 11 Store application. This is very similar to the compact display mode, with three minor adjustments, more spacing, space for labels, and does not expand.
Would you be interested in adding
PaneDisplayMode.win11
as an additional display mode?The text was updated successfully, but these errors were encountered: