Re: Widget alignment
- From: Kip Warner <kip thevertigo com>
- To: jcupitt gmail com
- Cc: gtk-app <gtk-app-devel-list gnome org>
- Subject: Re: Widget alignment
- Date: Wed, 22 May 2013 17:18:04 -0700
On Wed, 2013-05-22 at 12:32 +0100, jcupitt gmail com wrote:
Hi Kip,
Hey John,
GtkImage is a subclass of GtkMisc, and misc does alignment:
https://developer.gnome.org/gtk3/stable/GtkMisc.html#gtk-misc-set-alignment
Set the horizontal alignment to 0.5 to centre the image within its parent.
Tried that already, both progmatically and via Glade. Still no love. =(
<http://pastebin.com/821dmjKq>
The decoratePage() method is invoked when the page is registered into
the assistant via registerPage().
Thanks a lot for your help. This issue has been bugging me for a while.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]