diff --git a/Orange/widgets/visualize/owheatmap.py b/Orange/widgets/visualize/owheatmap.py index 862bde7635b..68d045af4a0 100644 --- a/Orange/widgets/visualize/owheatmap.py +++ b/Orange/widgets/visualize/owheatmap.py @@ -975,6 +975,7 @@ def setup_scene(self, parts, data): if rowitem.title: title = QGraphicsSimpleTextItem(rowitem.title, widget) item = GraphicsSimpleTextLayoutItem(title, parent=grid) + item.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed) grid.addItem(item, Row0 + i * 2, Col0) if rowitem.cluster: