mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 05:54:39 -04:00
removed wrong css property font-color
This commit is contained in:
@ -16,7 +16,7 @@ GoToFlowToolBar::GoToFlowToolBar(QWidget * parent)
|
|||||||
v->setBottom(1);
|
v->setBottom(1);
|
||||||
edit->setValidator(v);
|
edit->setValidator(v);
|
||||||
edit->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
edit->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||||
edit->setStyleSheet("QLineEdit {border: 1px solid #77000000; background: #55000000; color: white; padding: 3px 5px 5px 5px; margin: 13px 5px 12px 5px; font-color: white; font-weight:bold}");
|
edit->setStyleSheet("QLineEdit {border: 1px solid #77000000; background: #55000000; color: white; padding: 3px 5px 5px 5px; margin: 13px 5px 12px 5px; font-weight:bold}");
|
||||||
QPixmap p(":/images/imgEdit.png");
|
QPixmap p(":/images/imgEdit.png");
|
||||||
edit->setFixedSize(54,50);
|
edit->setFixedSize(54,50);
|
||||||
edit->setAttribute(Qt::WA_MacShowFocusRect,false);
|
edit->setAttribute(Qt::WA_MacShowFocusRect,false);
|
||||||
|
@ -46,7 +46,7 @@ YACReaderSlider::YACReaderSlider(QWidget *parent)
|
|||||||
slider->setMinimumWidth(sliderWidth);
|
slider->setMinimumWidth(sliderWidth);
|
||||||
|
|
||||||
QPushButton *resetButton = new QPushButton(tr("Reset"));
|
QPushButton *resetButton = new QPushButton(tr("Reset"));
|
||||||
resetButton->setStyleSheet("QPushButton {border: 1px solid #BB242424; background: #BB2E2E2E; color:white; padding: 3px 5px 5px 5px; font-color: white}");
|
resetButton->setStyleSheet("QPushButton {border: 1px solid #BB242424; background: #BB2E2E2E; color:white; padding: 3px 5px 5px 5px;}");
|
||||||
connect(resetButton, &QPushButton::clicked, this, &YACReaderSlider::resetValueToDefault);
|
connect(resetButton, &QPushButton::clicked, this, &YACReaderSlider::resetValueToDefault);
|
||||||
|
|
||||||
pLayout->addWidget(percentageLabel, 1, Qt::AlignHCenter);
|
pLayout->addWidget(percentageLabel, 1, Qt::AlignHCenter);
|
||||||
|
Reference in New Issue
Block a user