mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
StyleSheet Rewrite
Use QDarkStyle to make Standard_Dark.qss and Standard_Light.qss Use Widget name to stylize them.
This commit is contained in:
parent
16ca0dc52c
commit
d7981f3811
772 changed files with 12162 additions and 11459 deletions
|
@ -384,14 +384,14 @@ void CreateGxsForumMsg::checkLength()
|
|||
int charRemains = MAX_ALLOWED_GXS_MESSAGE_SIZE - msg.length();
|
||||
if(charRemains >= 0) {
|
||||
text = tr("It remains %1 characters after HTML conversion.").arg(charRemains);
|
||||
ui.infoLabel->setStyleSheet("QLabel#infoLabel { }");
|
||||
ui.info_Label->setStyleSheet("QLabel#info_Label { }");
|
||||
}else{
|
||||
text = tr("Warning: This message is too big of %1 characters after HTML conversion.").arg((0-charRemains));
|
||||
ui.infoLabel->setStyleSheet("QLabel#infoLabel {color: red; font: bold; }");
|
||||
ui.info_Label->setStyleSheet("QLabel#info_Label {color: red; font: bold; }");
|
||||
}
|
||||
ui.postButton->setToolTip(text);
|
||||
ui.postButton->setEnabled(charRemains>=0);
|
||||
ui.infoLabel->setText(text);
|
||||
ui.info_Label->setText(text);
|
||||
}
|
||||
|
||||
void CreateGxsForumMsg::createMsg()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue