Skip to content

Fix incorrect scrollbar size on macOS with Qt5 - #810

Merged
justinclift merged 1 commit into
sqlitebrowser:masterfrom
revolter:hotfix/qt5-osx-scrollbars
Oct 8, 2016
Merged

justinclift merged 1 commit into
sqlitebrowser:masterfrom
revolter:hotfix/qt5-osx-scrollbars

Conversation

@revolter

@revolter revolter commented Oct 8, 2016 •

Copy link
Copy Markdown
Member

Building the project with Qt5 on macOS and browsing a huge table, the
scrollbar height was smaller than necessary. Scrolling to the end, some
rows were not showing up.

This was caused by the default vertical scroll mode, which is set to
ScrollPerPixel on macOS, and ScrollPerItem on other systems.

Hope I was clear enough 😄

Related to #750.

Building the project with Qt5 on macOS and browsing a huge table, the
scrollbar height was smaller than necessary. Scrolling to the end, some
rows were not showing up.

This was caused by the default verticall scroll mode, which is set to
ScrollPerPixel on macOS, and ScrollPerItem on other systems.

@justinclift justinclift left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this fixes #750. 😀

Any chance of adding a comment for this line, explaining why it's set to "per Item" ?

@justinclift
justinclift merged commit e5bca9d into sqlitebrowser:master Oct 8, 2016
justinclift pushed a commit that referenced this pull request Oct 8, 2016
Building the project with Qt5 on macOS and browsing a huge table, the
scrollbar height was smaller than necessary. Scrolling to the end, some
rows were not showing up.

This was caused by the default vertical scroll mode, which is set to
ScrollPerPixel on macOS, and ScrollPerItem on other systems.
(cherry picked from commit e5bca9d)
vtronko pushed a commit that referenced this pull request Dec 29, 2016
Building the project with Qt5 on macOS and browsing a huge table, the
scrollbar height was smaller than necessary. Scrolling to the end, some
rows were not showing up.

This was caused by the default vertical scroll mode, which is set to
ScrollPerPixel on macOS, and ScrollPerItem on other systems.
@revolter
revolter deleted the hotfix/qt5-osx-scrollbars branch May 30, 2018 21:27
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

Successfully merging this pull request may close these issues.

2 participants