Attached patch reduces the size of the up and down button in the
minibuffer toolbar.

Comments?

Andre'

Index: QCommandBuffer.C
===================================================================
--- QCommandBuffer.C    (revision 17238)
+++ QCommandBuffer.C    (working copy)
@@ -83,10 +83,14 @@
        QVBoxLayout * top = new QVBoxLayout(this);
        QHBoxLayout * layout = new QHBoxLayout(0);
 
-       QPushButton * up = new QPushButton(qpup, "", this);
+       QPushButton * up = new QPushButton(this);
+       up->setMaximumSize(QSize(16, 16));
+       up->setIcon(qpup);
        up->setToolTip(qt_("Previous command"));
        connect(up, SIGNAL(clicked()), this, SLOT(up()));
-       QPushButton * down = new QPushButton(qpdown, "", this);
+       QPushButton * down = new QPushButton(this);
+       down->setMaximumSize(QSize(16, 16));
+       down->setIcon(qpdown);
        down->setToolTip(qt_("Next command"));
        connect(down, SIGNAL(clicked()), this, SLOT(down()));
 

Reply via email to