Page 1 of 1
Status Bar Styling Issue
Posted: Tue Jun 19, 2012 9:34 pm
by JohnFredC
For the most part, my personal dark theme works well for MP. However, I have been unable to remove the boxes around the various fields displayed in the status bar.
Here is the issue:
See the boxes around the fields displayed in the status bar? They look funny, don't they?
Apparently the label controls on the status bar are "3D". IMO they should be "2D". Ideally, I would want no borders around them whatsoever.
In the QT style sheet, how does one specify that a label control should be displayed without the 3D attribute?
Thanks!
Re: Status Bar Styling Issue
Posted: Tue Jun 19, 2012 10:30 pm
by XnTriq
Code: Select all
QStatusBar::item {
margin: 20px;
border: 0;
background: yellow;
}
How's that, John?
<!-- EDIT -- //
As it turns out, one has to add padding…
Code: Select all
QStatusBar {
background: fuchsia;
}
QStatusBar::item {
background: lime;
}
QStatusBar QLabel {
padding: 10px;
border: 0;
background: yellow;
}
… or margins to
QStatusBar QLabel:
Code: Select all
QStatusBar {
background: fuchsia;
}
QStatusBar::item {
background: lime;
}
QStatusBar QLabel {
margin: 10px;
border: 0;
background: yellow;
}
// -- EDIT -->
Re: Status Bar Styling Issue
Posted: Wed Jun 20, 2012 12:26 am
by JohnFredC
Thank you very much XnTriq! I'll try that out.
BTW those color choices are quite... interesting!
uh-huh!
Re: Status Bar Styling Issue
Posted: Wed Jun 20, 2012 12:45 am
by XnTriq
JohnFredC wrote:BTW those color choices are quite... interesting!
What can I say — I'm a
retro kinda guy, and this is my
neon-text-marker/
sore-thumb color scheme for better contrast during testing
Re: Status Bar Styling Issue
Posted: Wed Jun 20, 2012 12:46 am
by JohnFredC
Hi XnTriq!
The following worked great:
Code: Select all
QStatusBar {
background: transparent;
}
QStatusBar::item {
margin: 1px;
border: 0;
background: transparent;
}
QStatusBar QLabel {
margin: 1px;
border: 0;
background: transparent;
}
Thanks again!
Re: Status Bar Styling Issue
Posted: Fri Jul 06, 2012 1:30 pm
by XnTriq
John, please update the downloadable version your theme with all the improvements since 2010 on occasion.
Re: Status Bar Styling Issue
Posted: Fri Jul 06, 2012 1:46 pm
by JohnFredC
Hi XnTriq
I promise to do so but...
...still working on it. Haven't even addressed the Settings dialog yet.
"Soon", however.
Re: Status Bar Styling Issue
Posted: Sun Jul 15, 2012 6:30 pm
by XnTriq
JohnFredC wrote:I promise to do so but...
...still working on it. Haven't even addressed the Settings dialog yet.
"Soon", however.
Keep us posted!
While we're at it: Do you know what the following selectors (
\UI\style_sheet.qss @ line #700) are for?
- QToolBar#UIPanosView_ToolBar
- QToolBar#UIGroupsView_ToolBar
- QToolBar#UIGroup_ToolBar
- QToolBar#UIPano_ToolBar
Could these be leftovers from AutoPano?
Now I see why you find my choice of colors “
interesting”: You have a soft spot for
fuchsia & lime, too (-;
Re: Status Bar Styling Issue
Posted: Mon Jul 16, 2012 12:04 pm
by xnview
XnTriq wrote:
While we're at it: Do you know what the following selectors (
\UI\style_sheet.qss @ line #700) are for?
- QToolBar#UIPanosView_ToolBar
- QToolBar#UIGroupsView_ToolBar
- QToolBar#UIGroup_ToolBar
- QToolBar#UIPano_ToolBar
Could these be leftovers from AutoPano?
not for XnViewMP, i remove them
Re: Status Bar Styling Issue
Posted: Mon Jul 16, 2012 5:00 pm
by XnTriq
xnview wrote:not for XnViewMP, i remove them
Thanks for confirming, Pierre (-:
I'll keep looking for more.