Updated + / - buttons

+ moved to the left to make it easier to move from buttons to macros
+ changed buttons to + / -
+ made buttons a bit bigger
This commit is contained in:
Matt Lowe 2015-04-23 18:42:49 +02:00
parent 924dd174e3
commit 1ab2ba3f6f

View file

@ -20,6 +20,7 @@
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QRadioButton> #include <QRadioButton>
#include <QDebug> #include <QDebug>
#include <QFont>
#include "carddatabase.h" #include "carddatabase.h"
#include "dlg_settings.h" #include "dlg_settings.h"
#include "main.h" #include "main.h"
@ -640,8 +641,8 @@ MessagesSettingsPage::MessagesSettingsPage()
messageToolBar->addAction(aRemove); messageToolBar->addAction(aRemove);
QHBoxLayout *messageListLayout = new QHBoxLayout; QHBoxLayout *messageListLayout = new QHBoxLayout;
messageListLayout->addWidget(messageList);
messageListLayout->addWidget(messageToolBar); messageListLayout->addWidget(messageToolBar);
messageListLayout->addWidget(messageList);
messageShortcuts = new QGroupBox; messageShortcuts = new QGroupBox;
messageShortcuts->setLayout(messageListLayout); messageShortcuts->setLayout(messageListLayout);
@ -704,8 +705,10 @@ void MessagesSettingsPage::actRemove()
void MessagesSettingsPage::retranslateUi() void MessagesSettingsPage::retranslateUi()
{ {
aAdd->setText(tr("&Add")); aAdd->setText(tr("+"));
aRemove->setText(tr("&Remove")); aAdd->setFont(QFont("Times", 20));
aRemove->setText(tr("-"));
aRemove->setFont(QFont("Times", 20));
chatGroupBox->setTitle(tr("Chat settings")); chatGroupBox->setTitle(tr("Chat settings"));
chatMentionCheckBox.setText(tr("Enable chat mentions")); chatMentionCheckBox.setText(tr("Enable chat mentions"));
messageShortcuts->setTitle(tr("In-game message macros")); messageShortcuts->setTitle(tr("In-game message macros"));