[hafqa] [hafqa] [Bug 3605] Allow Hildon window border size to be set

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Wed Oct 29 22:44:03 EET 2008
https://bugs.maemo.org/show_bug.cgi?id=3605


pierre.amadio at laposte.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pierre.amadio at laposte.net




------- Comment #2 from pierre.amadio at laposte.net  2008-10-29 22:44 GMT+3 -------
I don't think set_border_size exist, it is, as far as i have understood a
function Benoit would like to have implemented in hildon.

There is a gtk_container_set_border_width() function though, but i dont think
it is what Benoit meant.

If you launch the following script:
import gtk
win = gtk.Window()
win.modify_bg(gtk.STATE_NORMAL,gtk.gdk.Color(200,200,200))
win.show_all()
gtk.main()

You will have a black background without any left,bottom or right white border.
Now, compare with an hildon window:

import hildon
import gtk
win = hildon.Window()
win.modify_bg(gtk.STATE_NORMAL,gtk.gdk.Color(200,200,200))
win.show_all()
gtk.main()

A white border seems to be mandatory, there may be a way to disable it, but i
havent found it.

It looks to me like this comes from libhildon-2.0.6/src/hildon-window.c , in
function hildon_window_expose , where border are applyed as long as the window
is not fullscreen.

Borders width seems to be dependent of the style used. 

I think this bug is a feature request to override the style border width.


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=3605
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list