mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
refine themes
This commit is contained in:
parent
791a5da245
commit
fe4b6ca72e
@ -119,5 +119,4 @@ QString MainConfig::getVersion(const QJsonObject &p_jobj)
|
|||||||
void MainConfig::doVersionSpecificOverride()
|
void MainConfig::doVersionSpecificOverride()
|
||||||
{
|
{
|
||||||
// In a new version, we may want to change one value by force.
|
// In a new version, we may want to change one value by force.
|
||||||
m_coreConfig->m_docksTabBarIconSize = 18;
|
|
||||||
}
|
}
|
||||||
|
@ -517,8 +517,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -571,8 +571,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,8 +513,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,8 +513,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,8 +513,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -571,8 +571,7 @@ QTabBar::tab {
|
|||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
border-right: 1px solid @widgets#qtabbar#tab#border;
|
border-right: 1px solid @widgets#qtabbar#tab#border;
|
||||||
/* MUST leave right and left padding 0px. */
|
padding: 2px 2px 2px 2px;
|
||||||
padding: 2px 0px 2px 0px;
|
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1474,6 +1474,7 @@ void MarkdownViewWindow::fetchWordCountInfo(const std::function<void(const WordC
|
|||||||
auto info = TextViewWindowHelper::calculateWordCountInfo(text);
|
auto info = TextViewWindowHelper::calculateWordCountInfo(text);
|
||||||
info.m_isSelection = true;
|
info.m_isSelection = true;
|
||||||
p_callback(info);
|
p_callback(info);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (m_mode) {
|
switch (m_mode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user