|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Aligning text in a text areaIs there a way to set the align = align.center property to the text
displayed inside a text area? ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gambas-user mailing list Gambas-user@... https://lists.sourceforge.net/lists/listinfo/gambas-user |
|
|
Re: Aligning text in a text areaOn mercredi 09 juillet 2008, M0E Lnx wrote:
> Is there a way to set the align = align.center property to the text > displayed inside a text area? > No, the TextArea has no Alignment property. Why do you need that? -- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-user |
|
|
Re: Aligning text in a text areaWell, 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. On Tue, Jul 15, 2008 at 6:58 AM, Benoit Minisini <gambas@...> wrote: > On mercredi 09 juillet 2008, M0E Lnx wrote: >> Is there a way to set the align = align.center property to the text >> displayed inside a text area? >> > > No, the TextArea has no Alignment property. Why do you need that? > > -- > 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@... > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-user |
|
|
Re: Aligning text in a text areaOn 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@... https://lists.sourceforge.net/lists/listinfo/gambas-user |
|
|
Re: Aligning text in a text areaI 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@...> 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@... > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-user |
| Free Forum Powered by Nabble | Forum Help |