[gtkada] Centring multiline text in labels

Rick Duley rickduley at gmail.com
Wed Jun 3 03:17:25 CEST 2009


Hi folks.

Is it possible to align to  cente the text in a label, e.g. on a button,
when the label has more than one line?  I have a button created thus:

      -- Create Big_Button.
      Gtk.Button.Gtk_New (Button => The_Gadget.Big_Button,
                          Label  => ("  BIG"
                                     & Ada.Characters.Latin_1.CR
                                     & "BUTTON"));

Can I get the text properly centred?

-- 
Rick Duley
North Perth,
Western Australia
http://www.freewebs.com/rickduley/
                                    .-_|\
                                   /     \
                             perth *_.-._/
                                        v
aussie :     0409 106 049
o'seas :  +61 409 106 049
--------------------------------------------
Committees:
"... dark alley down which ideas are led
                   ... then strangled."
                                  (PepsiCo)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20090603/5d3db403/attachment.htm 


More information about the gtkada mailing list