The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Panel Treeview problem

Forums » General Opera topics » Customizing Opera

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

28. October 2011, 22:44:36

kebb

Posts: 6

Panel Treeview problem

Hi everybody!

I've got a trouble in my skin after upgarded my opera few months ago.

Here's my skin.ini
http://depositfiles.com/files/giyuwi12g

Here's my opera:config#Colors
http://imageshack.us/photo/my-images/822/001gg.png/

Here's the problem
http://imageshack.us/photo/my-images/840/002ba.png/

I need:
1. To remove red background. I need white.
2. If the bg is white - text will be invisible, cz it's white too - so, I need that grey-bar-of-selected-line to stay grey (now it's invisible).
Guess that's it.

I fugured out red color
[Panel Treeview Skin.focused]
Color = #8b0000
(line 1587 in skin.in file)
But still can't find that invisible bar.


Thanks.

29. October 2011, 05:42:57

Moderator

sgunhouse

Volunteer

Posts: 66788

Change white foreground color? There's a couple of colors in opera:config#Colors which probably relate - Selected text and Highlighted text.

14. November 2011, 07:15:56 (edited)

kebb

Posts: 6

Nope. Selected text and Highlighted text are white by default. I need to change color of the bar. Look on 3rd pic. On the left that bar is grey. On the right transparent. How do i make it default color?

I need to change color of this thing. I need it to be default - blue. Not transparent.

14. November 2011, 07:46:33

Moderator

sgunhouse

Volunteer

Posts: 66788

Is this Windows? On my system, it is following my desktop colors.

14. November 2011, 07:56:01

kebb

Posts: 6

No, it's a problem of the skin. When i change skin on any other one everything is fine - that bar is default blue.

14. November 2011, 11:44:33 (edited)

daisensou

Posts: 37

Have you tried updating the skin?

Here's the code from IBIS inspire Version: 3.78b:

[Panel Treeview Skin]
Fallback version			= 3
Type							= BoxStretch
StretchBorder			= 5
Tile Center					= backgrounds/panel-treeview.png
Color = #222222
Colorize = 0

[Panel Treeview Skin.disabled]
Text Color					= #606060
Colorize = 0

[Panel Treeview Skin.selected]
Color						= #666666
Colorize = 0

; bug of build 1136
;[Panel Treeview Skin.focused]
;Color						= #8b0000
;Colorize = 1

15. November 2011, 03:10:59

kebb

Posts: 6

Yes, i tried new version, but for some reasons I don't want it. The thing is - I changed version 3.40 the way I like it. I replaced "scrollbar" folder with my scrollbar. I checked the newest version and didn't really find differences, so I wanna stay with my old (3.40), bcz i have a better (imho) scrollbar. And i can't change the 3.78 version, bcz it went too hard for me to understand what files i should change there. So, if I can fix that the only problem from the first post - i'll be fine. But I can't.
And this problem appeared after I updated on opera 11 while ago.

So, do you know the name of that "bar" that went transparent? Like, what do I search in skin.ini file for?

PS.
Here's my 3.40
The newest one
SO, just you can understand what i'm talking about.

And yeah, i've seen the code in 3.78, and I can't correlate 3.40's code and 3.78's. They are pretty different.

15. November 2011, 11:58:09 (edited)

daisensou

Posts: 37

Ok, open your edited skin.ini, go to this section [Panel Treeview Skin.focused]

and replace:

[Panel Treeview Skin.focused]
Color						= #8b0000


with:

[Panel Treeview Skin.focused]
Fallback version			= 3
Type							= BoxStretch
StretchBorder			= 5
Tile Center					= backgrounds/panel-treeview.png
;Color						= #8b0000


or

[Panel Treeview Skin.focused]
Clone				= Panel Treeview Skin


This seems to fix it. At least, that's what I did here http://www.mediafire.com/?obxegsl096yfndb and now I can't replicate that behavior you were having.

16. November 2011, 05:00:13

kebb

Posts: 6

daisensou
THNX!

I did what you said. It worked. But I really felt smthng was wrong with colors. They like blended on each other when the panel was focused. And i experimented for a while with that few lines in the code. And finally I found in the skin.ini of the newest version these lines

[Panel Treeview Skin.selected]
Color						= #666666
Colorize = 0

; bug of build 1136
;[Panel Treeview Skin.focused]
;Color						= #8b0000
;Colorize = 1


I did it and it started working perfectly. So that last one "[Panel Treeview Skin.focused]" was a trouble. Thanx for helping!

And the really last thing I would like to ask. After it's done - it will be a perfect skin for me.

When I click on the address bar, there is another bar appeared under it (Start Bar) - text there is dark. And it's hard to read it. Do you know where to fix it?

PS. While experimenting now, just found out that deleting [Panel Treeview Skin.focused] causes problems in "Preferences (search and advanced)" and "Appearance". So i will try to find the solution.

Thanx!

16. November 2011, 10:13:50

daisensou

Posts: 37

Follow ZeroZX4 tip from here

opera:config#debug skin


Copy-paste that in the addressbar, mark the checkbox and save. Now just hover the troublesome items to find their element on skin.ini, sometimes, like this one, you'll have to add them manually.

For example, you want it to look more like this: http://i.imgur.com/L0hlp.png ?

Open the skin.ini and find [Startbar Skin], now paste this close to it:

[Startbar Button Skin]
Text Color					= #FFFFFF

[Startbar Button Skin.hover]
Clone						= Toolbar Button Skin
Tile Center				= buttons/toolbar-hover.png
Text color 				= #FFFFFF


This should get you the same effect as the image I posted. Now back at [Panel Treeview Skin.focused], what exactly is the problem? Can you screencap it? Because, I just redid my steps and can't see anything odd here: http://i.imgur.com/Cfaqf.png

Deleting or commenting out the [Panel Treeview Skin.focused] with ; will cause the background to be transparent, that's why you should clone the setting from [Panel Treeview Skin] to keep the white background with rounded edges, as I said here.

18. November 2011, 04:07:03

kebb

Posts: 6

daisensou,
OH!! It works. Everything works perfectly, thank you very much!
So, this your code:
[Panel Treeview Skin.focused]
Fallback version			= 3
Type							= BoxStretch
StretchBorder			= 5
Tile Center					= backgrounds/panel-treeview.png
;Color						= #8b0000

is absolutely fine! (I guess there was a bug with colors, and it disappeared after I restarted opera)

And this:
[Startbar Button Skin]
Text Color					= #FFFFFF

[Startbar Button Skin.hover]
Clone						= Toolbar Button Skin
Tile Center				= buttons/toolbar-hover.png
Text color 				= #FFFFFF

worked fine too. But I replaced it with this code
[Statusbar Button Skin]
Clone						= Toolbar Button Skin.mini

[Statusbar Button Skin.hover]
Clone						= Toolbar Button Skin.hover.mini

I took it from the newest version of the skin (3.78). The result looks pretty much the same.

Thanks again! I really like this skin. I think I've been using it for about 2 years now. And thanks to your help I will keep on. Really thank you, skin is now perfect to me.

Forums » General Opera topics » Customizing Opera