From: Christoph Egger Date: Tue, 3 Jun 2014 12:15:17 +0000 (+0200) Subject: Remove grid X-Git-Tag: v0.1~184 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=2ac7c08ca9536a5b0c08c6ff331241ce6b082af0;p=frida%2Ffrida.git Remove grid --- diff --git a/src/gui/widgets/BasicBlockWidget.hxx b/src/gui/widgets/BasicBlockWidget.hxx index 98d3e63..557f556 100644 --- a/src/gui/widgets/BasicBlockWidget.hxx +++ b/src/gui/widgets/BasicBlockWidget.hxx @@ -7,8 +7,14 @@ public: : x(-5), y(-20) , dx(270), dy(45) , name(name) { + _widget.setGridStyle(Qt::NoPen); _widget.setMinimumHeight(_widget.rowHeight(0) + 10); _widget.setMaximumHeight(20); + _widget.resizeColumnToContents(0); + _widget.resizeColumnToContents(1); + _widget.resizeColumnToContents(2); + _widget.updateGeometry(); + _widget.setMaximumWidth(260); _widget.setColumnCount(3); _widget.verticalHeader()->hide(); _widget.horizontalHeader()->hide();