Merge pull request #2346 from defnax/qss-fix

fixed some values for font-size
This commit is contained in:
defnax 2021-02-20 15:42:31 +01:00 committed by GitHub
commit dfa611095e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View File

@ -432,7 +432,7 @@ void BoardsCommentsItem::setComment(const RsGxsComment& cmt)
QPixmap pixmap;
if(idDetails.mAvatar.mSize == 0 || !GxsIdDetails::loadPixmapFromData(idDetails.mAvatar.mData, idDetails.mAvatar.mSize, pixmap,GxsIdDetails::SMALL))
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::SMALL);
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::LARGE);
ui->avatarLabel->setPixmap(pixmap);
emit sizeChanged(this);

View File

@ -317,7 +317,7 @@ void ChannelsCommentsItem::loadMessage()
QPixmap pixmap ;
if(idDetails.mAvatar.mSize == 0 || !GxsIdDetails::loadPixmapFromData(idDetails.mAvatar.mData, idDetails.mAvatar.mSize, pixmap,GxsIdDetails::SMALL))
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::SMALL);
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::LARGE);
ui->avatarLabel->setPixmap(pixmap);
//Change this item to be uploaded with thread element.

View File

@ -125,7 +125,7 @@ GxsCreateCommentDialog QFrame#frame {
CreateGxsChannelMsg QPushButton#postButton {
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -147,7 +147,7 @@ GxsCreateCommentDialog QPushButton#postButton, GxsGroupDialog QPushButton#create
PulseAddDialog QPushButton#pushButton_Post, PulseTopLevel QToolButton#toolButton_follow,
PulseViewGroup QToolButton#toolButton_follow, WikiEditDialog QPushButton#pushButton_Submit{
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -174,7 +174,7 @@ WikiEditDialog QPushButton#pushButton_Submit:hover{
ShareManager QPushButton#closeButton {
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -187,7 +187,7 @@ ShareManager QPushButton#closeButton {
ShareManager QPushButton#addButton{
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #32CD32;
border-radius: 4px;
@ -205,7 +205,7 @@ ShareManager QPushButton#addButton:hover{
SearchDialog QPushButton#pushButtonSearch {
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #32CD32;
border-radius: 4px;
@ -225,7 +225,7 @@ CreateGxsForumMsg QPushButton#postButton:disabled, PostedCreatePostDialog QPushB
CreateGxsChannelMsg QPushButton#postButton:disabled, GxsCreateCommentDialog QPushButton#postButton:disabled,
PulseAddDialog QPushButton#pushButton_Post:disabled, WikiEditDialog QPushButton#pushButton_Submit:disabled {
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #d40000;
border-radius: 4px;
@ -240,7 +240,7 @@ PulseAddDialog QPushButton#pushButton_Post:disabled, WikiEditDialog QPushButton#
GxsForumThreadWidget QPushButton#forumName
{
font: bold;
font-size: 14pt;
font-size: 12pt;
}
CreateForumMsg > QToolBar#toolBar, CreateForumV2Msg > QToolBar#toolBar {
@ -855,7 +855,7 @@ PostedListWidgetWithModel QFrame#headerFrame {
GxsForumThreadWidget QToolButton#subscribeToolButton {
font: bold;
font-size: 14pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -875,7 +875,7 @@ SecurityIpItem QFrame#mainFrame, MsgItem QFrame#msgFrame, SecurityItem QFrame#ma
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton {
font: bold;
font-size: 14pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -1057,7 +1057,7 @@ PostedListWidgetWithModel QTextBrowser#infoDescription {
PostedCreatePostDialog QPushButton#submitButton {
font: bold;
font-size: 15pt;
font-size: 12pt;
color: white;
background: #0099cc;
border-radius: 4px;
@ -1191,17 +1191,17 @@ ChannelsCommentsItem QFrame#mainFrame, BoardsCommentsItem QFrame#mainFrame {
}
ChannelsCommentsItem QLabel#newCommentLabel, BoardsCommentsItem QLabel#newCommentLabel {
font-size: 14pt;
font-size: 12pt;
font: bold;
}
ChannelsCommentsItem QLabel#subjectLabel, ChannelsCommentsItem QLabel#titleLabel , QLabel#nameLabel {
font-size: 14pt;
font-size: 12pt;
font: bold;
}
BoardsCommentsItem QLabel#subjectLabel, QLabel#titleLabel , QLabel#nameLabel {
font-size: 14pt;
font-size: 12pt;
font: bold;
}