mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00
v_white theme: fix QFindReplaceDialog's title style in Gnome
This commit is contained in:
parent
5ca9ea6b92
commit
2933e0f44c
@ -22,6 +22,9 @@ void VFindReplaceDialog::setupUI()
|
|||||||
titleLayout->setStretch(1, 0);
|
titleLayout->setStretch(1, 0);
|
||||||
titleLayout->setContentsMargins(0, 0, 0, 0);
|
titleLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
titleLayout->setSpacing(0);
|
titleLayout->setSpacing(0);
|
||||||
|
QWidget *titleWidget = new QWidget();
|
||||||
|
titleWidget->setObjectName("FindReplaceTitleWidget");
|
||||||
|
titleWidget->setLayout(titleLayout);
|
||||||
|
|
||||||
// Find
|
// Find
|
||||||
QLabel *findLabel = new QLabel(tr("Find:"));
|
QLabel *findLabel = new QLabel(tr("Find:"));
|
||||||
@ -91,7 +94,7 @@ void VFindReplaceDialog::setupUI()
|
|||||||
gridLayout->setContentsMargins(margin);
|
gridLayout->setContentsMargins(margin);
|
||||||
|
|
||||||
QVBoxLayout *mainLayout = new QVBoxLayout();
|
QVBoxLayout *mainLayout = new QVBoxLayout();
|
||||||
mainLayout->addLayout(titleLayout);
|
mainLayout->addWidget(titleWidget);
|
||||||
mainLayout->addLayout(gridLayout);
|
mainLayout->addLayout(gridLayout);
|
||||||
mainLayout->setContentsMargins(0, 0, 0, 0);
|
mainLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
|
@ -1100,3 +1100,7 @@ QHeaderView::up-arrow {
|
|||||||
image: url(up.svg);
|
image: url(up.svg);
|
||||||
}
|
}
|
||||||
/* End QHeaderView */
|
/* End QHeaderView */
|
||||||
|
|
||||||
|
QWidget#FindReplaceTitleWidget {
|
||||||
|
background: @title_bg;
|
||||||
|
}
|
||||||
|
@ -1053,3 +1053,7 @@ QHeaderView::up-arrow {
|
|||||||
image: url(up.svg);
|
image: url(up.svg);
|
||||||
}
|
}
|
||||||
/* End QHeaderView */
|
/* End QHeaderView */
|
||||||
|
|
||||||
|
QWidget#FindReplaceTitleWidget {
|
||||||
|
background: @title_bg;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user