diff --git a/libs/gtkutil/image.cpp b/libs/gtkutil/image.cpp index 69374a72..d57d0e09 100644 --- a/libs/gtkutil/image.cpp +++ b/libs/gtkutil/image.cpp @@ -61,6 +61,7 @@ void Bitmaps_generateLight( const char *appPath, const char *settingsPath ){ QByteArray data( file.readAll() ); if( fileinfo.suffix() == "svg" ){ data.replace( "#c0c0c0", "#808080" ); // main grey + data.replace( "#8E8E8F", "#656565" ); // statusbar grey data.replace( "#f2d230", "#ccb128" ); // yellow in f-sky } QFile outfile( to.absolutePath() + '/' + fileinfo.fileName() ); diff --git a/setup/data/tools/bitmaps/status_brush.svg b/setup/data/tools/bitmaps/status_brush.svg index 9981e15f..e32ea3f6 100644 --- a/setup/data/tools/bitmaps/status_brush.svg +++ b/setup/data/tools/bitmaps/status_brush.svg @@ -2,6 +2,6 @@ - - + + diff --git a/setup/data/tools/bitmaps/status_entity.svg b/setup/data/tools/bitmaps/status_entity.svg index 668b1e66..5e251659 100644 --- a/setup/data/tools/bitmaps/status_entity.svg +++ b/setup/data/tools/bitmaps/status_entity.svg @@ -2,13 +2,13 @@ - - - - - + + diff --git a/setup/data/tools/bitmaps/status_patch.svg b/setup/data/tools/bitmaps/status_patch.svg index e8350a00..e22fb769 100644 --- a/setup/data/tools/bitmaps/status_patch.svg +++ b/setup/data/tools/bitmaps/status_patch.svg @@ -3,10 +3,10 @@ - - - + + - diff --git a/setup/data/tools/themes/blenderdark.qss b/setup/data/tools/themes/blenderdark.qss index 8353ab50..f180d548 100644 --- a/setup/data/tools/themes/blenderdark.qss +++ b/setup/data/tools/themes/blenderdark.qss @@ -1,7 +1,7 @@ /* ---------------------------------------------------------------------------- NAME: "BlenderDark" Style Sheet - VERSION: 1.0 + VERSION: 1.1 LICENSE: GPL v2 ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. @@ -161,7 +161,7 @@ QGroupBox { outline: none; /* visible in focused [Title] */ - margin-top: 1.10em; /* add space for [Title] */ + margin-top: 25px; /* 1.10em; */ /* add space for [Title] */ } QGroupBox:off, QGroupBox:disabled { @@ -1136,6 +1136,11 @@ QListView::item:selected:!active { background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ } +QListView::item:selected:hover:!active { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + QListView::item:disabled { color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ } @@ -1204,6 +1209,11 @@ QTableView::item:selected:!active { background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ } +QTableView::item:selected:hover:!active { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + QTableView::item:disabled { color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ } @@ -1266,8 +1276,13 @@ QTreeView::item:selected:hover { } QTreeView::item:selected:!active { - /* color: rgb( 26, 26, 26 ); */ /* Dark TEXT */ - /* background: rgba( 225, 146, 46, 50% ); */ /* Main ORANGE + Alpha */ + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ +} + +QTreeView::item:selected:hover:!active { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ } QTreeView::item:disabled { @@ -1637,8 +1652,8 @@ QCheckBox::indicator { border-radius: 0px; padding: 0px; - width: 20px; - height: 20px; + width: 20px; /* width: 0.85em; */ + height: 20px; /* width: 0.85em; */ } QCheckBox::indicator:checked { @@ -1705,8 +1720,8 @@ QRadioButton::indicator { border-radius: 0px; padding: 0px; - width: 20px; - height: 20px; + width: 20px; /* width: 0.85em; */ + height: 20px; /* width: 0.85em; */ } QRadioButton::indicator:checked { @@ -1770,6 +1785,10 @@ QPushButton { min-width: 3em; } +QTabWidget QPushButton { + min-width: 3.5em; /* prevent buttons from shrinking too much in EI */ +} + QPushButton:hover { color: rgb( 255, 255, 255 ); /* Selected TEXT */ background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ @@ -1894,8 +1913,8 @@ QSpinBox, QDoubleSpinBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 202, 130, 39 ); /* Dark ORANGE */ - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QSpinBox { @@ -1938,8 +1957,8 @@ QSpinBox::up-button, QDoubleSpinBox::up-button { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ - width: 0.85em; - height: 1.15em; + width: 20px; /* 0.85em; */ + height: 26px; /* 1.15em; */ } QSpinBox::down-button, QDoubleSpinBox::down-button { @@ -1953,8 +1972,8 @@ QSpinBox::down-button, QDoubleSpinBox::down-button { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center left; /* top, BOTTOM, left, RIGHT, center */ - width: 0.85em; - height: 1.15em; + width: 20px; /* 0.85em; */ + height: 26px; /* 1.15em; */ } QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover { @@ -2003,8 +2022,8 @@ QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { subcontrol-origin: border; subcontrol-position: center center; - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { @@ -2013,8 +2032,8 @@ QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { subcontrol-origin: border; subcontrol-position: center center; - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover { @@ -2028,15 +2047,15 @@ QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { image: url(julius:themes/blenderdark/chevron_right.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { image: url(julius:themes/blenderdark/chevron_left.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { @@ -2074,8 +2093,8 @@ QLineEdit { min-width: 2.80em; - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QLineEdit:hover { @@ -2122,8 +2141,8 @@ QComboBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 202, 130, 39 ); /* Dark ORANGE */ - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QComboBox:hover { @@ -2163,7 +2182,7 @@ QComboBox::drop-down { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ - width: 0.85em; + width: 20px; /* 0.85em; */ } /* -- Arrow -- */ @@ -2171,8 +2190,8 @@ QComboBox::drop-down { QComboBox::down-arrow { image: url(julius:themes/blenderdark/combo_arrow.svg); - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QComboBox::down-arrow:hover { @@ -2231,7 +2250,7 @@ QComboBox::item { border-radius: 4px; padding: 0px; - max-height: 1.0em; /* it takes full window height if not set */ + max-height: 23px; /* 1.0em; */ /* it takes full window height if not set */ } QComboBox::item:selected { diff --git a/setup/data/tools/themes/blenderlight.qss b/setup/data/tools/themes/blenderlight.qss index d08c56c2..f4a6db89 100644 --- a/setup/data/tools/themes/blenderlight.qss +++ b/setup/data/tools/themes/blenderlight.qss @@ -1,7 +1,7 @@ /* ---------------------------------------------------------------------------- NAME: "BlenderLight" Style Sheet - VERSION: 1.0 + VERSION: 1.1 LICENSE: GPL v2 ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. @@ -161,7 +161,7 @@ QGroupBox { outline: none; /* visible in focused [Title] */ - margin-top: 1.10em; /* add space for [Title] */ + margin-top: 25px; /* 1.10em; */ /* add space for [Title] */ } QGroupBox:off, QGroupBox:disabled { @@ -1136,6 +1136,11 @@ QListView::item:selected:!active { background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ } +QListView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + QListView::item:disabled { color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ } @@ -1204,6 +1209,11 @@ QTableView::item:selected:!active { background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ } +QTableView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + QTableView::item:disabled { color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ } @@ -1266,8 +1276,13 @@ QTreeView::item:selected:hover { } QTreeView::item:selected:!active { - /* color: rgb( 255, 255, 255 ); */ /* Selected TEXT */ - /* background: rgba( 86, 128, 194, 50% ); */ /* Main BLUE + Alpha */ + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ +} + +QTreeView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ } QTreeView::item:disabled { @@ -1637,8 +1652,8 @@ QCheckBox::indicator { border-radius: 0px; padding: 0px; - width: 20px; - height: 20px; + width: 20px; /* width: 0.85em; */ + height: 20px; /* width: 0.85em; */ } QCheckBox::indicator:checked { @@ -1705,8 +1720,8 @@ QRadioButton::indicator { border-radius: 0px; padding: 0px; - width: 20px; - height: 20px; + width: 20px; /* width: 0.85em; */ + height: 20px; /* width: 0.85em; */ } QRadioButton::indicator:checked { @@ -1770,6 +1785,10 @@ QPushButton { min-width: 3em; } +QTabWidget QPushButton { + min-width: 3.5em; /* prevent buttons from shrinking too much in EI */ +} + QPushButton:hover { color: rgb( 26, 26, 26 ); /* Main TEXT */ background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ @@ -1894,8 +1913,8 @@ QSpinBox, QDoubleSpinBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QSpinBox { @@ -1938,8 +1957,8 @@ QSpinBox::up-button, QDoubleSpinBox::up-button { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ - width: 0.85em; - height: 1.15em; + width: 20px; /* 0.85em; */ + height: 26px; /* 1.15em; */ } QSpinBox::down-button, QDoubleSpinBox::down-button { @@ -1953,8 +1972,8 @@ QSpinBox::down-button, QDoubleSpinBox::down-button { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center left; /* top, BOTTOM, left, RIGHT, center */ - width: 0.85em; - height: 1.15em; + width: 20px; /* 0.85em; */ + height: 26px; /* 1.15em; */ } QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover { @@ -2003,8 +2022,8 @@ QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { subcontrol-origin: border; subcontrol-position: center center; - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { @@ -2013,8 +2032,8 @@ QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { subcontrol-origin: border; subcontrol-position: center center; - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover { @@ -2028,15 +2047,15 @@ QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { image: url(julius:themes/blenderlight/chevron_right.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { image: url(julius:themes/blenderlight/chevron_left.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { @@ -2074,8 +2093,8 @@ QLineEdit { min-width: 2.80em; - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QLineEdit:hover { @@ -2122,8 +2141,8 @@ QComboBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ - min-height: 1.15em; /* sets a fixed height */ - max-height: 1.15em; + min-height: 26px; /* 1.15em; */ /* sets a fixed height */ + max-height: 26px; /* 1.15em; */ } QComboBox:hover { @@ -2163,7 +2182,7 @@ QComboBox::drop-down { subcontrol-origin: border; /* margin, border, PADDING, content */ subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ - width: 0.85em; + width: 20px; /* 0.85em; */ } /* -- Arrow -- */ @@ -2171,8 +2190,8 @@ QComboBox::drop-down { QComboBox::down-arrow { image: url(julius:themes/blenderlight/combo_arrow.svg); - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QComboBox::down-arrow:hover { @@ -2231,7 +2250,7 @@ QComboBox::item { border-radius: 4px; padding: 0px; - max-height: 1.0em; /* it takes full window height if not set */ + max-height: 23px; /* 1.0em; */ /* it takes full window height if not set */ } QComboBox::item:selected { diff --git a/setup/data/tools/themes/greyblue2.qss b/setup/data/tools/themes/greyblue2.qss index 3cad6023..44090e0b 100644 --- a/setup/data/tools/themes/greyblue2.qss +++ b/setup/data/tools/themes/greyblue2.qss @@ -1,7 +1,7 @@ /* ---------------------------------------------------------------------------- NAME: "GreyBlue2" Style Sheet - VERSION: 1.0 + VERSION: 1.1 LICENSE: GPL v2 ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. @@ -161,7 +161,7 @@ QGroupBox { outline: none; /* visible in focused [Title] */ - margin-top: 1.10em; /* add space for [Title] */ + margin-top: 25px; /* 1.10em; */ /* add space for [Title] */ } QGroupBox:off, QGroupBox:disabled { @@ -1115,7 +1115,7 @@ QListView::item { border-radius: 4px; padding: 0px; - height: 0.90em; /* shrink items so they take up less space */ + /* height: 0.90em; */ /* shrink items so they take up less space */ } QListView::item:hover { @@ -1142,6 +1142,12 @@ QListView::item:selected:!active { border-color: rgba( 96, 155, 243, 35% ); /* Light BLUE + Alpha */ } +QListView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + QListView::item:disabled { color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ } @@ -1214,6 +1220,12 @@ QTableView::item:selected:!active { border-color: rgba( 96, 155, 243, 35% ); /* Light BLUE + Alpha */ } +QTableView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + QTableView::item:disabled { color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ } @@ -1257,7 +1269,7 @@ QTreeView::item { border-radius: 4px; padding: 0px; - height: 0.90em; /* shrink items so they take up less space */ + /* height: 0.90em; */ /* shrink items so they take up less space */ } QTreeView::item:hover { @@ -1279,9 +1291,15 @@ QTreeView::item:selected:hover { } QTreeView::item:selected:!active { - /* color: rgb( 220, 220, 220 ); */ /* Main TEXT */ - /* background: rgba( 71, 114, 179, 35% ); */ /* Main BLUE + Alpha */ - /* border-color: rgba( 96, 155, 243, 35% ); */ /* Light BLUE + Alpha */ + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgba( 71, 114, 179, 35% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 35% ); /* Light BLUE + Alpha */ +} + +QTreeView::item:selected:hover:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ } QTreeView::item:disabled { @@ -1791,6 +1809,10 @@ QPushButton { min-width: 3em; } +QTabWidget QPushButton { + min-width: 3.5em; /* prevent buttons from shrinking too much in EI */ +} + QPushButton:hover { color: rgb( 255, 255, 255 ); /* Selected TEXT */ @@ -1933,12 +1955,12 @@ QSpinBox, QDoubleSpinBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ - min-height: 1.20em; /* sets a fixed height */ - max-height: 1.20em; + min-height: 28px; /* 1.20em; */ /* sets a fixed height */ + max-height: 28px; /* 1.20em; */ } QSpinBox { - min-width: 1.5em; /* avoid too small SpinBox */ + min-width: 1.5em; /* avoid too small SpinBox in some plugins */ } QSpinBox:hover, QDoubleSpinBox:hover { @@ -1979,8 +2001,8 @@ QSpinBox::up-button, QDoubleSpinBox::up-button { subcontrol-origin: padding; /* margin, border, PADDING, content */ subcontrol-position: top right; /* TOP, bottom, left, RIGHT, center */ - width: 1.0em; - height: 0.5em; + width: 23px; /* 1.0em; */ + height: 12px; /* 0.5em; */ } QSpinBox::down-button, QDoubleSpinBox::down-button { @@ -1996,8 +2018,8 @@ QSpinBox::down-button, QDoubleSpinBox::down-button { subcontrol-origin: padding; /* margin, border, PADDING, content */ subcontrol-position: bottom right; /* top, BOTTOM, left, RIGHT, center */ - width: 1.0em; - height: 0.5em; + width: 23px; /* 1.0em; */ + height: 12px; /* 0.5em; */ } QSpinBox::up-button:disabled, QDoubleSpinBox::up-button:disabled { @@ -2013,8 +2035,8 @@ QSpinBox::down-button:disabled, QDoubleSpinBox::down-button:disabled { QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { image: url(julius:themes/greyblue2/chevron_up.svg); - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ top: 1px; /* move it down */ } @@ -2022,8 +2044,8 @@ QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { image: url(julius:themes/greyblue2/chevron_down.svg); - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ top: -1px; /* move it up */ } @@ -2039,15 +2061,15 @@ QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { image: url(julius:themes/greyblue2/chevron_up.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { image: url(julius:themes/greyblue2/chevron_down.svg); - width: 0.80em; - height: 0.80em; + width: 18px; /* 0.80em; */ + height: 18px; /* 0.80em; */ } QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { @@ -2085,8 +2107,8 @@ QLineEdit { min-width: 2.80em; - min-height: 1.20em; /* sets a fixed height */ - max-height: 1.20em; + min-height: 28px; /* 1.20em; */ /* sets a fixed height */ + max-height: 28px; /* 1.20em; */ } QLineEdit:hover { @@ -2134,8 +2156,8 @@ QComboBox { selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ - min-height: 1.20em; /* sets a fixed height */ - max-height: 1.20em; + min-height: 28px; /* 1.20em; */ /* sets a fixed height */ + max-height: 28px; /* 1.20em; */ } QComboBox:hover { @@ -2177,7 +2199,7 @@ QComboBox::drop-down { subcontrol-origin: padding; /* margin, border, PADDING, content */ subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ - width: 1.0em; + width: 23px; /* 1.0em; */ } QComboBox::drop-down:on { @@ -2193,8 +2215,8 @@ QComboBox::drop-down:disabled { QComboBox::down-arrow { image: url(julius:themes/greyblue2/chevron_down.svg); - width: 0.95em; - height: 0.95em; + width: 22px; /* 0.95em; */ + height: 22px; /* 0.95em; */ } QComboBox::down-arrow:hover { @@ -2253,7 +2275,7 @@ QComboBox::item { border-radius: 4px; padding: 0px; - max-height: 1.0em; /* it takes full window height if not set */ + max-height: 23px; /* 1.0em; */ /* it takes full window height if not set */ } QComboBox::item:selected { /* hover */ @@ -2294,4 +2316,25 @@ QSizeGrip { height: 16px; /* height: 0.70em; */ } +/* ---- Linux ------------------------------------------------------------------ +| | +| NOTE: File Selector of KDE is a QDialog window with these widgets: | +| | +| - QListView (left panel). | +| - QSplitter (vertical). | +| - QToolBar + QToolButton + QSlider. | +| - File path; no idea what widget is. | +| - QTreeView + QHeaderView (right panel). | +| - QLabel (2x just before QComboBox). | +| - QComboBox (2x at the bottom). | +| - QPushButton (2x at the bottom). | +| | + ---------------------------------------------------------------------------- */ + +/* Remove Icons in File Selector buttons (Open, Save, Cancel, etc.) */ + +QDialog QPushButton { + icon: none; +} + /* EOF ------------------------------- EOF ------------------------------ EOF */