diff --git a/rtdata/themes/RawTherapee-GTK3-20_.css b/rtdata/themes/RawTherapee-GTK3-20_.css index a0d7ac0e2..6c0a0993b 100644 --- a/rtdata/themes/RawTherapee-GTK3-20_.css +++ b/rtdata/themes/RawTherapee-GTK3-20_.css @@ -34,6 +34,7 @@ *:disabled { color: #666666; + opacity: 0.7; } .view:selected:not(check):not(radio) { @@ -43,7 +44,7 @@ /* The Places and Dir browser panels */ textview.view, treeview.view { - padding: 0.166666666666666666em; + padding: 0; margin: 0; } .view, .textview, textview, textview.view { @@ -409,10 +410,8 @@ button { background-image: linear-gradient(to bottom, rgba(100,100,100,.3), rgba(30,30,30,.3)); } -/* Curve mode buttons and drop-downs */ -button:checked.Left { - background-image: linear-gradient(to bottom, rgba(100,100,100,.3), rgba(30,30,30,.3)); - background-color: #585858; +button:disabled { + opacity: 1; } button.flat { @@ -960,11 +959,11 @@ fontchooser scrolledwindow, padding: 0 0.4166666666666666em 0 0; } #PlacesPaned > box:nth-child(1) scrolledwindow + grid { - margin: -2px 0 -2px 0; + margin: 0; border-top-width: 0.083333333333333333em; } #PlacesPaned > box:nth-child(3) treeview { - padding: 0.25em 0.333333333333333333em 0.25em 0.333333333333333333em; + padding: 0; } #MainNotebook > header.left tab image { diff --git a/rtdata/themes/size.css b/rtdata/themes/size.css index 98130d4df..77773fa34 100644 --- a/rtdata/themes/size.css +++ b/rtdata/themes/size.css @@ -11,34 +11,33 @@ progressbar.vertical { } progressbar trough { border-width: 0.083333333333333333em; - border-radius: 0.416666666666666666em; + border-radius: 0.3em; } progressbar trough progress { - border-radius: 0.416666666666666666em; border-width: 0.083333333333333333em; + border-radius: 0.3em; } progressbar.vertical trough { - min-width: 0.416666666666666666em; + min-width: 0.6em; } progressbar.vertical trough progress { - min-width: 0.416666666666666666em; - margin: -0.083333333333333333em 0; + min-width: 0.6em; + margin: 0; } - progressbar.horizontal trough { - min-height: 0.416666666666666666em; - margin-top: 0.416666666666666666em; + min-height: 0.6em; + margin-top: 0; } #IopsPanel progressbar.horizontal trough { margin-top: 0; } progressbar.horizontal trough progress { - min-height: 0.416666666666666666em; - margin: 0 -1px; + min-height: 0.6em; + margin: 0; } /* #IopsPanel progressbar trough.empty, */ @@ -360,6 +359,7 @@ menu { border-width: 0.083333333333333333em; padding: 0.083333333333333333em; margin: 0; + border-radius: 0; } menu > arrow.top, menu > arrow.top:hover, @@ -740,7 +740,7 @@ messagedialog .dialog-action-area button:not(:only-child):nth-child(2) { padding: 0; border-width: 0.083333333333333333em; border-radius: 0; - min-height: 1.666666666666666666em;/*x*/ + min-height: 0.5em;/*x*/ } /**/ diff --git a/rtgui/rtwindow.cc b/rtgui/rtwindow.cc index 1f79792cc..6030c4556 100644 --- a/rtgui/rtwindow.cc +++ b/rtgui/rtwindow.cc @@ -96,12 +96,7 @@ RTWindow::RTWindow () { cacheMgr->init (); - RTScalable::init(this); - RTSurface::init(); - RTImage::init(); - WhiteBalance::init(); ProfilePanel::init (this); - MyExpander::init(); // ------- loading theme files @@ -239,6 +234,12 @@ RTWindow::RTWindow () // ------- end loading theme files + RTScalable::init(this); + RTSurface::init(); + RTImage::init(); + WhiteBalance::init(); + MyExpander::init(); + #ifndef WIN32 const std::vector> appIcons = { RTImage::createPixbufFromFile("rawtherapee-logo-16.png"), diff --git a/rtgui/whitebalance.cc b/rtgui/whitebalance.cc index 8d10f5657..3c3382bc3 100644 --- a/rtgui/whitebalance.cc +++ b/rtgui/whitebalance.cc @@ -35,11 +35,6 @@ using namespace rtengine; using namespace rtengine::procparams; Glib::RefPtr WhiteBalance::wbPixbufs[toUnderlying(WBEntry::Type::CUSTOM) + 1]; -/* -Glib::RefPtr WhiteBalance::wbCameraPB, WhiteBalance::wbAutoPB, WhiteBalance::wbSunPB, WhiteBalance::wbTungstenPB, - WhiteBalance::wbCloudyPB, WhiteBalance::wbShadePB, WhiteBalance::wbFluorescentPB, WhiteBalance::wbLampPB, - WhiteBalance::wbFlashPB, WhiteBalance::wbLedPB, WhiteBalance::wbCustomPB; -*/ void WhiteBalance::init () {