mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-30 09:07:32 -04:00
Moved Fonts to bottom & Chat notify to top
This commit is contained in:
parent
56d8a1c819
commit
d872dd56ff
3 changed files with 30 additions and 6 deletions
|
@ -115,6 +115,7 @@ ChatWidget::ChatWidget(QWidget *parent)
|
|||
//ui->sendButton->setFixedHeight(iconHeight);
|
||||
ui->sendButton->setIconSize(iconSize);
|
||||
ui->typingLabel->setMaximumHeight(QFontMetricsF(font()).height()*1.2);
|
||||
ui->fontcolorButton->setIconSize(iconSize);
|
||||
|
||||
//Initialize search
|
||||
iCharToStartSearch=Settings->getChatSearchCharToStartSearch();
|
||||
|
@ -189,7 +190,7 @@ ChatWidget::ChatWidget(QWidget *parent)
|
|||
ui->hashBox->setDropWidget(this);
|
||||
ui->hashBox->setAutoHide(true);
|
||||
|
||||
QMenu *fontmenu = new QMenu(tr("Set text font & color"));
|
||||
QMenu *fontmenu = new QMenu();
|
||||
fontmenu->addAction(ui->actionChooseFont);
|
||||
fontmenu->addAction(ui->actionChooseColor);
|
||||
fontmenu->addAction(ui->actionResetFont);
|
||||
|
@ -198,10 +199,10 @@ ChatWidget::ChatWidget(QWidget *parent)
|
|||
#ifdef USE_CMARK
|
||||
fontmenu->addAction(ui->actionSend_as_CommonMark);
|
||||
#endif
|
||||
ui->fontcolorButton->setMenu(fontmenu);
|
||||
|
||||
QMenu *menu = new QMenu();
|
||||
menu->addAction(ui->actionMessageHistory);
|
||||
menu->addMenu(fontmenu);
|
||||
menu->addSeparator();
|
||||
menu->addAction(ui->actionSaveChatHistory);
|
||||
menu->addAction(ui->actionClearChatHistory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue