]> git.siccegge.de Git - frida/frida.git/commitdiff
Remove grid
authorChristoph Egger <siccegge@cs.fau.de>
Tue, 3 Jun 2014 12:15:17 +0000 (14:15 +0200)
committerChristoph Egger <siccegge@cs.fau.de>
Tue, 3 Jun 2014 12:15:17 +0000 (14:15 +0200)
src/gui/widgets/BasicBlockWidget.hxx

index 98d3e6301b266b5d4c51663b08b7e57cd26a9844..557f556a33edbb0424ce4baaa583ede926b4c473 100644 (file)
@@ -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();