mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix styles
This commit is contained in:
parent
0784fd43f3
commit
30a9d0ecc7
@ -298,6 +298,8 @@ void Theme::translateScaledSize(qreal p_factor, QString &p_style)
|
|||||||
const int signCapturedIdx = 2;
|
const int signCapturedIdx = 2;
|
||||||
const int numCapturedIdx = 3;
|
const int numCapturedIdx = 3;
|
||||||
|
|
||||||
|
qDebug() << "translateScaledSize of Qt style sheet" << p_factor;
|
||||||
|
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
QRegularExpressionMatch match;
|
QRegularExpressionMatch match;
|
||||||
while (pos < p_style.size()) {
|
while (pos < p_style.size()) {
|
||||||
|
@ -546,7 +546,7 @@ QTabBar::close-button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::scroller {
|
QTabBar::scroller {
|
||||||
width: 20px;
|
width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar QToolButton {
|
QTabBar QToolButton {
|
||||||
|
@ -546,7 +546,7 @@ QTabBar::close-button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::scroller {
|
QTabBar::scroller {
|
||||||
width: 20px;
|
width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar QToolButton {
|
QTabBar QToolButton {
|
||||||
|
@ -66,7 +66,7 @@ void ViewSplit::setupUI()
|
|||||||
{
|
{
|
||||||
// Property of QTabWidget.
|
// Property of QTabWidget.
|
||||||
setUsesScrollButtons(true);
|
setUsesScrollButtons(true);
|
||||||
setElideMode(Qt::ElideRight);
|
setElideMode(Qt::ElideNone);
|
||||||
setTabsClosable(true);
|
setTabsClosable(true);
|
||||||
setMovable(true);
|
setMovable(true);
|
||||||
setDocumentMode(true);
|
setDocumentMode(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user