mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Ensure that current position is always visible
This commit is contained in:
parent
d5b4f4c36f
commit
7e78d7bc8e
@ -184,6 +184,7 @@ class EbookViewer(MainWindow, Ui_EbookViewer):
|
|||||||
self.pos.setToolTip(_('Position in book'))
|
self.pos.setToolTip(_('Position in book'))
|
||||||
self.pos.setSuffix('/'+_('Unknown')+' ')
|
self.pos.setSuffix('/'+_('Unknown')+' ')
|
||||||
self.pos.setMinimum(1.)
|
self.pos.setMinimum(1.)
|
||||||
|
self.pos.setMinimumWidth(150)
|
||||||
self.tool_bar2.insertWidget(self.action_find_next, self.pos)
|
self.tool_bar2.insertWidget(self.action_find_next, self.pos)
|
||||||
self.reference = HelpfulLineEdit()
|
self.reference = HelpfulLineEdit()
|
||||||
self.reference.setValidator(QRegExpValidator(QRegExp(r'\d+\.\d+'), self.reference))
|
self.reference.setValidator(QRegExpValidator(QRegExp(r'\d+\.\d+'), self.reference))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user