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

The toolbar needs to know the size of the browser #2021

Open
asemoller opened this issue May 29, 2024 · 2 comments
Open

The toolbar needs to know the size of the browser #2021

asemoller opened this issue May 29, 2024 · 2 comments

Comments

@asemoller
Copy link
Contributor

Is your feature request related to a problem? Please describe.
If a user have many tools expanded at the same time, some icons will not appear in the browser, the toolbar expand without knowing it hit the bottom of the browser.

The toolbar should sense the size of the browser and do something when it hits the bottom, like the footer and the legend. I'm not really sure what the best solution would be, maybe a scrollbar, maybe a new bar on the right, but I'm not convinced by either. All I know is that the user should be able to see all available tools in the toolbar.

Even if we move the measure tool and the selection tool to the bottom just like the draw and editor control, as we mentioned in issue #1409, I believe the problem remains since many controls can be placed in the left toolbar. Users can have different resolutions, zoom settings and sizes of screens, browsers and devices and so on. This is something that should work much better than it does today.

toolbar_expanded

@tonnyandersson
Copy link
Collaborator

IMO, it would make sense to make the toolbar scrollable. And open some tools - mainly tools that are normally used over a longer period of time and tools that require frequent change of bits - in the bottom toolbar. The draw and editor controls, for example. I get your point about different screen sizes and stuff, and that needs to be handled as well. I don't think it's a good idea to open up a new toolbar on the right, though, because of menus an legends and stuff.

Perhaps there are more creative thinking-outside-the-box kind of people out there with better ideas?

@jokd
Copy link
Contributor

jokd commented Sep 9, 2024

IMO, it would make sense to make the toolbar scrollable. And open some tools - mainly tools that are normally used over a longer period of time and tools that require frequent change of bits - in the bottom toolbar. The draw and editor controls, for example. I get your point about different screen sizes and stuff, and that needs to be handled as well. I don't think it's a good idea to open up a new toolbar on the right, though, because of menus an legends and stuff.

Perhaps there are more creative thinking-outside-the-box kind of people out there with better ideas?

We made the left menu scrollable with some css but then the tooltips for the buttons stopped working. I can have another look into this unless somebody else have another idea.

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

Successfully merging a pull request may close this issue.

3 participants