QTfrontend/ui/widget/keybinder.cpp
changeset 12236 a0ed4caa6d35
parent 11674 d59b6f289e30
child 12698 f2690a0ccf19
equal deleted inserted replaced
12235:0844c680b4bc 12236:a0ed4caa6d35
    58     // Reset all binds button
    58     // Reset all binds button
    59     if (!resetButtonText.isEmpty())
    59     if (!resetButtonText.isEmpty())
    60     {
    60     {
    61         QPushButton * btnResetAll = new QPushButton(resetButtonText);
    61         QPushButton * btnResetAll = new QPushButton(resetButtonText);
    62         catListContainer->addWidget(btnResetAll);
    62         catListContainer->addWidget(btnResetAll);
       
    63         btnResetAll->setStyleSheet("padding: 5px 10px");
    63         btnResetAll->setFixedHeight(40);
    64         btnResetAll->setFixedHeight(40);
    64         catListContainer->setStretch(1, 0);
    65         catListContainer->setStretch(1, 0);
    65         catListContainer->setSpacing(10);
    66         catListContainer->setSpacing(10);
    66         connect(btnResetAll, SIGNAL(clicked()), this, SIGNAL(resetAllBinds()));
    67         connect(btnResetAll, SIGNAL(clicked()), this, SIGNAL(resetAllBinds()));
    67     }
    68     }