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

QScrollArea support Y and X scrollbar at the same time #7471

Closed
SnosMe opened this issue Jul 21, 2020 · 4 comments
Closed

QScrollArea support Y and X scrollbar at the same time #7471

SnosMe opened this issue Jul 21, 2020 · 4 comments

Comments

@SnosMe
Copy link

SnosMe commented Jul 21, 2020

Is your feature request related to a problem? Please describe.
QScrollArea currently has an exclusive mode for displaying scrollbar horizontally or vertically. Components like a "text file editor" require both scrollbars to be shown.

Describe the solution you'd like
QScrollArea shows vertical and horizontal scrollbar at the same time.

Describe alternatives you've considered
None

Additional context
The only issue I see is how to handle scrollbars overlapping in corner.

  • Y scrollbar = container height, X scrollbar = container width - Y scrollbar width (like vscode does)
  • Mimic default scrollbars and add a styleable resize square
  • ...
@rstoenescu
Copy link
Member

This is scheduled for Quasar 2.0.
We cannot add this without introducing breaking changes to the current API.

@rstoenescu rstoenescu added this to the Quasar 2.0 milestone Aug 6, 2020
@rodrigoslayertech
Copy link
Contributor

I was already opening an Issue requesting for it, but I found this one.
Waiting for this!

@rstoenescu
Copy link
Member

Will be available in Quasar v2

@rstoenescu
Copy link
Member

Will be available in Quasar v2

rstoenescu pushed a commit that referenced this issue Dec 14, 2021
…rizontal) #7471; save and restore scroll position in keep-alive (#11671)

* feat(QScrollArea): backport QScrollArea from v2 (both vertical and horizontal) #7471

* feat(QScrollArea): save and restore scroll position for keep-alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants