Skip to content
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

Vertically Aligned Toolbar #5181

Open
2 tasks done
jimorc opened this issue Oct 6, 2024 · 0 comments
Open
2 tasks done

Vertically Aligned Toolbar #5181

jimorc opened this issue Oct 6, 2024 · 0 comments

Comments

@jimorc
Copy link

jimorc commented Oct 6, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

The current Toolbar widget displays the toolbar objects aligned horizontally only. Allowing the Toolbar to align the objects vertically would allow the toolbar to be placed along the left edge of an app window. For example, if the toolbar is placed in the left portion of a Border layout or in an HBox layout, then display the toolbar vertically.
I am not familiar with iOS or Android, but assume that on those systems, the toolbar would need to be displayed horizontally.

Is it possible to construct a solution with the existing API?

Not directly. It is possible to create a VerticalToolbar, but that would be a custom solution and would not provide automatic layout based on the container that the toolbar is in.

Describe the solution you'd like to see.

Modify the Toolbar widget to display the toolbar objects either horizontally or vertically based on the orientation of the container it is placed in. For example, if the toolbar is placed in the top portion of a Border layout or in an VBox, display the toolbar objects horizontally, but if placed in the left portion of a Border or in an HBox, display the objects vertically. Display on iOS and Android as currently done for other widget displays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant