Skip to content

Commit

Permalink
Freeviz: Don't set label width, for heaven's sake
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Jan 30, 2023
1 parent b78ff8c commit f2a609c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Orange/widgets/visualize/owfreeviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from AnyQt.QtCore import Qt, QRectF, QLineF, QPoint
from AnyQt.QtGui import QPalette
from AnyQt.QtWidgets import QSizePolicy

import pyqtgraph as pg

Expand Down Expand Up @@ -173,7 +174,9 @@ def __add_controls_start_box(self):
gui.comboBox(
box, self, "initialization", label="Initialization:",
items=InitType.items(), orientation=Qt.Horizontal,
labelWidth=90, callback=self.__init_combo_changed)
callback=self.__init_combo_changed,
sizePolicy=(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
)
self.run_button = gui.button(box, self, "Start", self._toggle_run)

@property
Expand Down

0 comments on commit f2a609c

Please sign in to comment.