Page 1 of 2

Change "Output View" background

Posted: Fri Jun 28, 2013 12:24 pm
by netrick
So default the background of "output view" panel is gray. However by accident I clicked it and it changed to orange, which is very annoying. How can I revert it to gray?

Any by the way, is it a bug? It happens on both windows and linux and there is no way to revert it other than reseting whole layout to default.

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 1:08 pm
by eranif
The "Orange" means that it is active.
if you click on the "Workspace" View caption - it will turn orange as well (and the output view will become grey again)

You can change the default theme of codelite from:
settings -> global editor preferences -> misc -> icon set

Change it to "fresh farm" - and restart codelite. The orange will become blue

Eran

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 1:36 pm
by netrick
Thanks. But is there a way to make both workspace and output unactive? I mean, I like that default grey when both are unactive.

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 1:39 pm
by eranif
netrick wrote:Thanks. But is there a way to make both workspace and output unactive? I mean, I like that default grey when both are unactive.
No

Eran

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 1:57 pm
by netrick
Okay. By any chance, are codelite's themes stored in some files so I can manually change the colors?

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 2:30 pm
by eranif
No. If they were stored in a file, I would have made them accessible from UI

Eran

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 10:46 pm
by petah
if you're already building your own CL, use the attached patch.

It's a hack that replaces one hardcoded color with another but does the job if you find the default color too distracting.

cheers,

-- p

Re: Change "Output View" background

Posted: Fri Jun 28, 2013 10:54 pm
by eranif
petah wrote:if you're already building your own CL, use the attached patch.

It's a hack that replaces one hardcoded color with another but does the job if you find the default color too distracting.

cheers,

-- p
Why don't u make it a generic patch and provide a way to the user to select the background colour? ;)
(it can go to settings -> global editor preferences -> misc page )
Eran

Re: Change "Output View" background

Posted: Sat Jun 29, 2013 10:07 am
by petah
I did start thinking about how to expose this via a bitmap whose corner colors would be used for the gradient, and asked for feedback in the "CL appearance" thread but nobody seemed to care... I was content with my hack and realized there were more important things than a mere background color... so just left it there.

Anyway I wouldn't dare clogging CL's user interface; I think this should firmly be in your hands.

cheers,

-- p

Re: Change "Output View" background

Posted: Sat Jun 29, 2013 12:59 pm
by DavidGH
Hi,

I agree with you; I find having an active colour distracting. My solution is to get the layout as I like, and do 'Perspective > Save current layout as' using 'default-bak.layout' or 'debug-bak.layout' or whatever name; then save it again as default.layout or... Then when I accidentally click on the bar and the colour strikes, I just revert to the backup.

(That's not really what I do; I actually duplicate the my working ~/.codelite/config/default.layout or debug.layout using a file manager. But the above is a way to do the same thing from within CodeLite.)

Regards,

David