From fd23bef07ee9d7adb3337d095f78adc6e0b18078 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 22 Jan 2015 19:50:09 +0100 Subject: [PATCH] Fix layout of basicblock with just one instruction --- src/gui/widgets/BasicBlockWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/BasicBlockWidget.cxx b/src/gui/widgets/BasicBlockWidget.cxx index c434c46..0377be3 100644 --- a/src/gui/widgets/BasicBlockWidget.cxx +++ b/src/gui/widgets/BasicBlockWidget.cxx @@ -13,7 +13,7 @@ BasicBlockWidget::BasicBlockWidget(const QString& name, BasicBlock * block) _widget.horizontalHeader()->hide(); _widget.setShowGrid(false); _widget.setWordWrap(false); - _widget.setMinimumSize(210, 40); + _widget.setMinimumSize(210, 20); _proxy.setWidget(&_widget); _proxy.setPos(5, 20); -- 2.39.5