[Gambas-user] Aligning text in a text area

M0E Lnx m0e.lnx at ...626...
Tue Jul 15 22:29:38 CEST 2008


I have to use gb.gtk on this one... strickly gtk.

I guess a text label inside a scrollview will do


On Tue, Jul 15, 2008 at 3:26 PM, Benoit Minisini
<gambas at ...1...> wrote:
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list