Fix icon size of the WB combobox, fix unsensitive button color,

fix progress bar, fix folder line spacing.
See PR #5215
This commit is contained in:
Hombre
2019-03-16 00:07:03 +01:00
parent 52dcd08b97
commit 619ca4fe53
4 changed files with 23 additions and 28 deletions

View File

@@ -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 {

View File

@@ -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*/
}
/**/

View File

@@ -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<Glib::RefPtr<Gdk::Pixbuf>> appIcons = {
RTImage::createPixbufFromFile("rawtherapee-logo-16.png"),

View File

@@ -35,11 +35,6 @@ using namespace rtengine;
using namespace rtengine::procparams;
Glib::RefPtr<Gdk::Pixbuf> WhiteBalance::wbPixbufs[toUnderlying(WBEntry::Type::CUSTOM) + 1];
/*
Glib::RefPtr<Gdk::Pixbuf> 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 ()
{