From 4ab8e0507968c20f9c4dd657cef7dfe4d9141ff6 Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Thu, 21 Mar 2019 17:46:18 +0100 Subject: [PATCH] owheatmap: Fix group label size policy --- Orange/widgets/visualize/owheatmap.py | 1 + 1 file changed, 1 insertion(+) 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: