neharob / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Side panels style doesn't match the GTK style #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Enable one of the panels (code browser, file browser) and dock it to the
left sidebar

What is the expected output? What do you see instead?
It should have the same style as the toolbars.
The problem is most relevant with the title bar of the panels, which is
completely different from the rest of the application

- Editra 0.5.05 on Ubuntu jaunty (Gnome DE)
- Installed from source
- python: 2.6.2
- wxPython: both 2.6 and 2.8 installed

Original issue reported on code.google.com by ral...@gmail.com on 16 Sep 2009 at 3:02

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

1) The line number gutter in the buffer is fully configurable and dependent 
upon what
highlighting style you are using. So this is an issue of the style you have 
selected.

2) "It should have the same style as the toolbars." what is "It" and what 
toolbars?

3) What are you expecting the subpane caption/title bar to look like (color)?

Original comment by CodyPrec...@gmail.com on 16 Sep 2009 at 3:24

GoogleCodeExporter commented 9 years ago
1) Ok, the line number gutter is configurable via the "Style editor".

3) the subpane caption/title bar should inherit the style from the GTK theme.
In the current UI, the toolbar and the menubar looks ok (GTK style) while the 
subpane
title bar looks completely different.
This should be fixed.
I've attached a new screenshot showing thi issue.

Original comment by ral...@gmail.com on 17 Sep 2009 at 7:04

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Again, what are you expecting the subpane titlebar to look like? Like main 
titlebar
of the frame, a gradient like the menubar, etc...?

The menubar and toolbar are using gtk controls so its only natural that they 
will
look like gtk controls, the subpanes are a custom control (see wxAUI) so they 
are not
part of gtk, not sure if its possible to change what they look like.

Original comment by CodyPrec...@gmail.com on 17 Sep 2009 at 11:46

GoogleCodeExporter commented 9 years ago
They should look at least like the menu bar.
Anyway from the wxWidgets home page:
"Unlike other cross-platform toolkits, wxWidgets applications look and feel 
native.
This is because wxWidgets uses the platform's own native controls rather than
emulating them"
and on the requirements page:
"Almost any Unix workstation, and one of: GTK+ 1.2, GTK+ 2.0...."
So I would expect that even custom controls can be given the look-and-feel of 
the
hosting environement (GTK+ 2.0 in my case)

Original comment by ral...@gmail.com on 17 Sep 2009 at 12:42

GoogleCodeExporter commented 9 years ago
Hi,

That statement is true for the most part, but the wxAui component is a custom 
generic
control. You may want to file a feature request with wxwidgets as well if this 
is an
issue to you, as I consider this more of an upstream issue than an issue in 
Editra.

I can look if there is a way to for me to change the styling of it at the 
application
level, but as of now it is using the default settings.

Original comment by CodyPrec...@gmail.com on 17 Sep 2009 at 1:24

GoogleCodeExporter commented 9 years ago
update to investigate to see if aui caption styles can be customized

Original comment by CodyPrec...@gmail.com on 17 Sep 2009 at 3:06

GoogleCodeExporter commented 9 years ago
Issue 498 has been merged into this issue.

Original comment by CodyPrec...@gmail.com on 21 Mar 2010 at 4:15

GoogleCodeExporter commented 9 years ago
I think my Issue is the same like the one discussed here.
I attached a picture how the Tabs look like.
There is a strange gradient over the tabs that make them unreadable.

Expected:
Should look like any other gtk element.

Original comment by Johannes...@gmail.com on 12 Dec 2010 at 7:32

Attachments:

GoogleCodeExporter commented 9 years ago
Tabs and the project names are very hard to read with many dark GTK+ themes. 
With my current theme, the project names are exactly the same color as their 
background, so the only way to read them is to highlight them.

I spent a little bit of time looking for the problem a while ago but wasn't 
really able to find what I wanted. I did find out that the wxAui notebook tab 
renderer for GTK+ is getting it's colors from something in the theme, but it 
does not look good with any dark themes I've tried.

Original comment by revcompg...@gmail.com on 6 Apr 2011 at 5:28