refine themes

This commit is contained in:
Le Tan 2022-08-25 21:26:40 +08:00
parent 791a5da245
commit fe4b6ca72e
8 changed files with 7 additions and 13 deletions

View File

@ -119,5 +119,4 @@ QString MainConfig::getVersion(const QJsonObject &p_jobj)
void MainConfig::doVersionSpecificOverride()
{
// In a new version, we may want to change one value by force.
m_coreConfig->m_docksTabBarIconSize = 18;
}

View File

@ -517,8 +517,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -571,8 +571,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -513,8 +513,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -513,8 +513,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -513,8 +513,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -571,8 +571,7 @@ QTabBar::tab {
QTabBar::tab:top, QTabBar::tab:bottom {
border-top: 2px solid transparent;
border-right: 1px solid @widgets#qtabbar#tab#border;
/* MUST leave right and left padding 0px. */
padding: 2px 0px 2px 0px;
padding: 2px 2px 2px 2px;
height: 20px;
}

View File

@ -1474,6 +1474,7 @@ void MarkdownViewWindow::fetchWordCountInfo(const std::function<void(const WordC
auto info = TextViewWindowHelper::calculateWordCountInfo(text);
info.m_isSelection = true;
p_callback(info);
return;
}
switch (m_mode) {