1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Setfixedwidth responds better when image resized.

Copied from Perforce
 Change: 194178
This commit is contained in:
Gareth Rees 2018-06-26 11:07:26 +01:00
parent 026af76fab
commit 44c07ace41

View file

@ -443,7 +443,7 @@ class ApplicationWindow(QtWidgets.QMainWindow):
self._model.needs_redraw()
checkbox.stateChanged.connect(state_changed)
checkbox.setStyleSheet(f"color:{line.color}")
self._lines_scroll.setMinimumWidth(
self._lines_scroll.setFixedWidth(
self._lines_widget.sizeHint().width())