On mardi 15 juillet 2008, M0E Lnx wrote:
> Well, I'm using a text area to display a text file. ( a copy of the
> GPL to be exact) and in my form, the text area is just as wide as the
> form itself... leaving of couse about 8 pixels on either side for a
> nice border effect.
>
> But the text shows up as left-aligned... I'd like to make it look
> center-aligned if possible.
>

If you don't need to edit the text, do not use a TextArea, but a TextLabel or 
a read-only TextEdit (if you use gb.qt).

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to