Skip to content

Commit 157290b

Browse files
authored
Merge pull request #7060 from ales-erjavec/owhierarchicalclustering-combo-width
owhierarchicalclustering: Fix combo box size hinting
2 parents f606f13 + 68e2697 commit 157290b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Orange/widgets/unsupervised/owhierarchicalclustering.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,9 @@ def on_annotation_changed(value):
304304
None, self, "color_by", orientation=Qt.Horizontal,
305305
model=model, callback=self._update_labels,
306306
sizePolicy=QSizePolicy(QSizePolicy.MinimumExpanding,
307-
QSizePolicy.Fixed))
307+
QSizePolicy.Fixed),
308+
contentsLength=10
309+
)
308310
self.color_by_label = QLabel("Color by:")
309311
grid.addWidget(self.color_by_label, 2, 0)
310312
grid.addWidget(cb, 2, 1)

0 commit comments

Comments
 (0)