ui: Changed all font-sizes from pt to px for same results on all platforms
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
border-radius: 12px;
|
||||
border-top-left-radius: 14px;
|
||||
border-top-right-radius: 14px;
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
background-color: <color:code/file/background>;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
color: <color:code/file/title/text>;
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
padding: 2px 4px;
|
||||
margin: 1px 8px 3px;
|
||||
}
|
||||
@@ -43,7 +43,7 @@
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
color: <color:code/file/ref_count/text>;
|
||||
font-size: <setting:font_size-2>pt;
|
||||
font-size: <setting:font_size-2>px;
|
||||
padding: 0px 3px;
|
||||
margin: 4px 0px 4px;
|
||||
}
|
||||
@@ -51,7 +51,7 @@
|
||||
#code_file #code_snippet {
|
||||
background-color: <color:code/snippet/background>;
|
||||
border-top: 2px solid <color:code/file/background>;
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
#code_file #code_snippet[isFirst=true] {
|
||||
@@ -64,7 +64,7 @@
|
||||
border: none;
|
||||
color: <color:code/snippet/title/text>;
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #scope_name:hover {
|
||||
@@ -87,14 +87,14 @@
|
||||
border: none;
|
||||
color: <color:code/snippet/line_number/text>;
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
#code_area {
|
||||
background-color: transparent;
|
||||
color: <color:code/snippet/syntax/normal>;
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
#code_file #maximize_button, #code_file #snippet_button, #code_file #minimize_button {
|
||||
|
||||
@@ -10,29 +10,29 @@ QLabel {
|
||||
|
||||
#title {
|
||||
color: white;
|
||||
font-size: 22pt;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#percent {
|
||||
font-size: 22pt;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#message {
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#filePath {
|
||||
font-size: 11pt;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#errorCount {
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: white;
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#windowButton {
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
QLabel {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#licenseField {
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: 10pt;
|
||||
font-size: 11px;
|
||||
height: 200px;
|
||||
padding: 5px;
|
||||
width: 470px;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
QToolTip {
|
||||
background-color: #E0E0E0;
|
||||
color: black;
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
* {
|
||||
font-size: <setting:font_size>pt;
|
||||
font-size: <setting:font_size>px;
|
||||
}
|
||||
|
||||
#search_box, #search_box * {
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: <setting:font_size+2>pt;
|
||||
font-size: <setting:font_size+2>px;
|
||||
}
|
||||
|
||||
#search_bar {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
border-radius: 8px;
|
||||
color: black;
|
||||
padding: 3px 5px 2px;
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
min-width: 6em;
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
background: none;
|
||||
border: none;
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#recentButtonMissing {
|
||||
background: none;
|
||||
border: none;
|
||||
color: grey;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#recentButton:hover, #recentButtonMissing:hover {
|
||||
@@ -34,23 +34,23 @@
|
||||
|
||||
#recentLabel {
|
||||
color: black;
|
||||
font-size: 16pt;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
#versionLabel {
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#updateLabel {
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#welcomeLabel {
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
QtDirectoryListBox {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
QLabel, QCheckBox {
|
||||
@@ -7,12 +7,12 @@ QLabel, QCheckBox {
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 16pt;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#projectTitle {
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -23,21 +23,21 @@ QLabel, QCheckBox {
|
||||
}
|
||||
|
||||
#projectDescription {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#description {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#label {
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#titleLabel {
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ QLabel, QCheckBox {
|
||||
border-radius: 8px;
|
||||
color: black;
|
||||
padding: 3px 5px 2px;
|
||||
font-size: 14pt;
|
||||
font-size: 14px;
|
||||
min-width: 5em;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ QLabel, QCheckBox {
|
||||
border-bottom-right-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
color: black;
|
||||
font-size: 15pt;
|
||||
font-size: 15px;
|
||||
margin-right: 0px;
|
||||
height: 25px;
|
||||
width: 90px;
|
||||
@@ -161,7 +161,7 @@ QLabel, QCheckBox {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
font-size: 12px;
|
||||
width: 7em;
|
||||
height: 7em;
|
||||
margin-top: 10px;
|
||||
|
||||
@@ -125,7 +125,7 @@ void QtLicense::populateWindow(QWidget* widget)
|
||||
|
||||
void QtLicense::windowReady()
|
||||
{
|
||||
setStyleSheet(styleSheet() + utility::getStyleSheet(ResourcePaths::getGuiPath() + "license/license.css").c_str());
|
||||
m_content->setStyleSheet(m_content->styleSheet() + utility::getStyleSheet(ResourcePaths::getGuiPath() + "license/license.css").c_str());
|
||||
|
||||
addLogo();
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ QtWindow::QtWindow(QWidget* parent)
|
||||
|
||||
std::string frameStyle =
|
||||
"#window {"
|
||||
" font-size: 17pt;"
|
||||
" border: 1px solid lightgray;"
|
||||
" border-radius: 15px;"
|
||||
" background: white;"
|
||||
|
||||
Reference in New Issue
Block a user