MP 0.30 req: Please draw a small line beneath newer tab bar

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: helmut, XnTriq, xnview

MP 0.30 req: Please draw a small line beneath newer tab bar

Postby budz45 » Fri Oct 15, 2010 3:12 pm

Hi,

I quite like how in 0.30 the tab bar has been placed above the menu. In fact I believe some apps are following this new trend such as Firefox 4.

Anyway this is the smallest GUI request EVER! Wouldn't be neater and distinguishable to draw a small line beneath the tab bar like in this picture I made to show the difference:
Image
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby JohnFredC » Sun Oct 17, 2010 5:04 pm

I am totally opposed to this.

The active tab should be visually integrated with its menu (as it is now)... that's one way how we know which tab is the active one!!!
John
User avatar
JohnFredC
XnThusiast
 
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby xnview » Mon Oct 18, 2010 11:57 am

I think that you can change that by editing GUI style
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby budz45 » Wed Oct 20, 2010 4:12 pm

JohnFredC wrote:I am totally opposed to this.

The active tab should be visually integrated with its menu (as it is now)... that's one way how we know which tab is the active one!!!


But the inactive tab is grey and the active tab is white and that's more than fine, isn't it? Unless on other Windows OS's and cross-platforms the tab widget GUI is completely difference; if so forgive me.

xnview wrote:I think that you can change that by editing GUI style


Hmm how do I do that?

Really the oroginal request here is not that importance like my other requests... I just thought that a small GUI line below tab bar would look a bit better than that faded white look but it's your final decision.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby JohnFredC » Wed Oct 20, 2010 5:14 pm

2 budz45

Tabs look differently on different systems and with different "styles".

You might want to try View->Style->Motif or View->Style->CDE to get that line under the tabs.

All of the styles have problems, though. I would prefer a mix and match combination of CleanLooks and Plastique, but it is currently 'way to time-consuming for a Windows user to create a new style using an XML editor. Not worth the effort, unfortunately.
John
User avatar
JohnFredC
XnThusiast
 
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby XnTriq » Thu Oct 21, 2010 4:00 am

budz45 wrote:
xnview wrote:I think that you can change that by editing GUI style


Hmm how do I do that?

Code: Select all
QMenuBar {
border-top: 1px solid red;
}
User avatar
XnTriq
Moderator & Librarian
 
Posts: 4742
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby xnview » Thu Oct 21, 2010 9:06 am

I use default GUI widget...
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby XnTriq » Thu Oct 21, 2010 8:00 pm

User avatar
XnTriq
Moderator & Librarian
 
Posts: 4742
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby budz45 » Thu Oct 21, 2010 9:51 pm

Hi XnTriq, thanks for that tip on the code.

Ok I inputted that code at the very bottom of all that text in the 'theme' window. So now, why has the rest of my GUI turned to dark grey after inputted that tab bar line code. Please advise
Image

Also can I specify a type of dynamic line color which would blend/colour adapt itself to whichever OS I'm running MP on?
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby XnTriq » Thu Oct 21, 2010 10:30 pm

budz45 wrote:Ok I inputted that code at the very bottom of all that text in the 'theme' window. So now, why has the rest of my GUI turned to dark grey after inputted that tab bar line code. Please advise

  1. Quit XnView MP.
  2. Open %AppData%\XnViewMP\default.style in a text editor.
  3. Replace all CSS with QMenuBar { border-top: 1px solid red; }.
  4. Restart XnView MP.

budz45 wrote:Also can I specify a type of dynamic line color which would blend/colour adapt itself to whichever OS I'm running MP on?

User avatar
XnTriq
Moderator & Librarian
 
Posts: 4742
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby budz45 » Thu Oct 21, 2010 10:51 pm

Thanks buddy :D I did mine in grey colour.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby XnTriq » Fri Oct 22, 2010 3:30 am

budz45 wrote:Thanks buddy :D I did mine in grey colour.

I used red for this demo only, so it would stick out (like the proverbial sore thumb) in the screenshot.

Since we can't use system color values like ButtonShadow and ThreeDShadow with QT stylesheets, I'll have to settle with this for now:

Code: Select all
QMenuBar {
padding-top: 1px;
border-top: 2px groove darkgray;
}
User avatar
XnTriq
Moderator & Librarian
 
Posts: 4742
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby budz45 » Fri Oct 22, 2010 3:24 pm

XnTriq wrote:
Code: Select all
QMenuBar {
padding-top: 1px;
border-top: 2px groove darkgray;
}


Yes, thanks I am using this recent one on XP but on Vista there is a slight GUI mishap; on Vista look at the lost piece of vista menu bar after the 'help' menu item;
Image
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby XnTriq » Fri Oct 22, 2010 5:00 pm

budz45 wrote:
XnTriq wrote:
Code: Select all
QMenuBar {
padding-top: 1px;
border-top: 2px groove darkgray;
}


Yes, thanks I am using this recent one on XP but on Vista there is a slight GUI mishap; on Vista look at the lost piece of vista menu bar after the 'help' menu item;
Image

Oh :-|

What happens when you remove the padding, budz?
Or maybe you could try adding a Vista-like gradient to the background:

Code: Select all
QMenuBar {
border-top: 2px groove darkgray;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fcfdfe, stop:0.5 #cfd7eb stop:1 #e9ecfa);
}
User avatar
XnTriq
Moderator & Librarian
 
Posts: 4742
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: MP 0.30 req: Please draw a small line beneath newer tab

Postby budz45 » Fri Oct 22, 2010 5:30 pm

Thanks XnTriq, that seemed to fix it, and still retain the custom line on vista :)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
 
Posts: 1596
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK


Return to Classic - Resolved Bugs & Requests

Who is online

Users browsing this forum: No registered users and 1 guest