mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Fix regression in "flow" mode that caused horizontal scrollbar to be rendered as vertical. Fixes #1409916 [ebook-viewer shows another vertical scrollbar on horizontal content overflow](https://bugs.launchpad.net/calibre/+bug/1409916)
This commit is contained in:
parent
2ab64729d8
commit
158e4075b9
@ -221,7 +221,7 @@ class Main(MainWindow):
|
||||
cl.addWidget(vs, 0, 1, 2, 1)
|
||||
|
||||
self.horizontal_scrollbar = hs = QScrollBar(c)
|
||||
hs.setOrientation(Qt.Vertical), hs.setObjectName("horizontal_scrollbar")
|
||||
hs.setOrientation(Qt.Horizontal), hs.setObjectName("horizontal_scrollbar")
|
||||
cl.addWidget(hs, 1, 0, 1, 1)
|
||||
|
||||
self.tool_bar = tb = ToolBar(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user