mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9bd07a9b8f
commit
41791d1e4d
@ -76,7 +76,7 @@ class ImageView(QDialog):
|
|||||||
h.setContentsMargins(0, 0, 0, 0)
|
h.setContentsMargins(0, 0, 0, 0)
|
||||||
l.addLayout(h)
|
l.addLayout(h)
|
||||||
self.fit_image = i = QCheckBox(_('&Fit image'))
|
self.fit_image = i = QCheckBox(_('&Fit image'))
|
||||||
i.setToolTip(_('Fit the image to the available space'))
|
i.setToolTip(_('Fit image inside the available space'))
|
||||||
i.setChecked(bool(gprefs.get('image_popup_fit_image')))
|
i.setChecked(bool(gprefs.get('image_popup_fit_image')))
|
||||||
i.stateChanged.connect(self.fit_changed)
|
i.stateChanged.connect(self.fit_changed)
|
||||||
h.addWidget(i), h.addStretch(), h.addWidget(bb)
|
h.addWidget(i), h.addStretch(), h.addWidget(bb)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user