Text alignment in label

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Text alignment in label

by helgihg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I'm having trouble figuring out how to make label texts align to the left instead of always being in the center. It's a very simple login window... there's "Server Address", "Username" and "Password", but they're all aligned to the center. I've never really understood much about Glade, and just when I thought I did, I ran into this weird problem of not being able to do something so simple. ;) I've meddled with all the properties I can find and tried Google, but still no luck, and nobody seems to have this problem but me, so I'm starting to think I'm misunderstanding something more fundamental.

Any help short of "omg noob lol" will be highly appreciated.

Here's the Glade file created by Glade version 3.6.7.

Thanks in advance.

Kind regards,
Helgi Hrafn Gunnarsson
helgi@...




_______________________________________________
Glade-users maillist  -  Glade-users@...
http://lists.ximian.com/mailman/listinfo/glade-users

LoginForm.glade (7K) Download Attachment

Re: Text alignment in label

by Manuel Alejandro Cerón Estrada-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/7 Helgi Hrafn Gunnarsson <helgi@...>:

> Hi.
>
> I'm having trouble figuring out how to make label texts align to the left
> instead of always being in the center. It's a very simple login window...
> there's "Server Address", "Username" and "Password", but they're all aligned
> to the center. I've never really understood much about Glade, and just when
> I thought I did, I ran into this weird problem of not being able to do
> something so simple. ;) I've meddled with all the properties I can find and
> tried Google, but still no luck, and nobody seems to have this problem but
> me, so I'm starting to think I'm misunderstanding something more
> fundamental.

Select the label and change the X-align property to 0.0 for left
alignment. Use 1.0 for right.
_______________________________________________
Glade-users maillist  -  Glade-users@...
http://lists.ximian.com/mailman/listinfo/glade-users

Re: Text alignment in label

by helgihg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It worked! Thanks! :)

Kind regards,
Helgi Hrafn Gunnarsson
helgi@...

2009/11/8 Manuel Alejandro Cerón Estrada <ceronman@...>
2009/11/7 Helgi Hrafn Gunnarsson <helgi@...>:
> Hi.
>
> I'm having trouble figuring out how to make label texts align to the left
> instead of always being in the center. It's a very simple login window...
> there's "Server Address", "Username" and "Password", but they're all aligned
> to the center. I've never really understood much about Glade, and just when
> I thought I did, I ran into this weird problem of not being able to do
> something so simple. ;) I've meddled with all the properties I can find and
> tried Google, but still no luck, and nobody seems to have this problem but
> me, so I'm starting to think I'm misunderstanding something more
> fundamental.

Select the label and change the X-align property to 0.0 for left
alignment. Use 1.0 for right.
_______________________________________________
Glade-users maillist  -  Glade-users@...
http://lists.ximian.com/mailman/listinfo/glade-users


_______________________________________________
Glade-users maillist  -  Glade-users@...
http://lists.ximian.com/mailman/listinfo/glade-users