Forcing alignment + altering textbox length for fields?

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

Forcing alignment + altering textbox length for fields?

by Patrick Chan-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Currently, I have the database in the Details, Layout section.
It has a couple of fields for people to put in their personal
particular details, telephone and other information

When I type in text in the Text field, text typed in is left aligned.
When I type in numbers in the Number field however, numbers typed in
are right aligned, and also the length for the Number field/box is
only around half that of the Text field.

Is there a way to:
1. Let numbers be left-aligned?
2. Set the length of Number fields to be the same as the Text fields?
(as in, set  width of Text/number boxes to be the same)


Thank you,
Patrick
_______________________________________________
glom-devel-list mailing list
glom-devel-list@...
http://mail.gnome.org/mailman/listinfo/glom-devel-list

Re: Forcing alignment + altering textbox length for fields?

by "Arq. Maximiliano" Meilán :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Long and short (with the same length of number) text field may be
usefull, or the possibility to assign or change the length in Details,
but keep Glom simple.



El sáb, 25-07-2009 a las 15:44 +1000, Patrick Chan escribió:

> Hi all,
>
> Currently, I have the database in the Details, Layout section.
> It has a couple of fields for people to put in their personal
> particular details, telephone and other information
>
> When I type in text in the Text field, text typed in is left aligned.
> When I type in numbers in the Number field however, numbers typed in
> are right aligned, and also the length for the Number field/box is
> only around half that of the Text field.
>
> Is there a way to:
> 1. Let numbers be left-aligned?
> 2. Set the length of Number fields to be the same as the Text fields?
> (as in, set  width of Text/number boxes to be the same)
>
>
> Thank you,
> Patrick


_______________________________________________
glom-devel-list mailing list
glom-devel-list@...
http://mail.gnome.org/mailman/listinfo/glom-devel-list

Re: Forcing alignment + altering textbox length for fields?

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-07-25 at 15:44 +1000, Patrick Chan wrote:
> Hi all,
>
> Currently, I have the database in the Details, Layout section.
> It has a couple of fields for people to put in their personal
> particular details, telephone and other information
>
> When I type in text in the Text field, text typed in is left aligned.
> When I type in numbers in the Number field however, numbers typed in
> are right aligned,

Yes, because this is generally the correct way to display these. I
believe that spreadsheets generally use the same defaults.

But if you need to override these defaults, I guess we can add an option
in the field formatting. Could you file a bug about that, please?

>  and also the length for the Number field/box is
> only around half that of the Text field.

Yes. We try not to waste space. And I think the different size is a
useful visual cue that it's a different kind of field.

But we could add a "use same width for all fields" option if it bothers
you. Could you file a bug about that, please?

I don't consider these to be very high priority personally, but I would
accept patches and my company, Openismus, does paid development work on
Glom.

> Is there a way to:
> 1. Let numbers be left-aligned?
> 2. Set the length of Number fields to be the same as the Text fields?
> (as in, set  width of Text/number boxes to be the same)

--
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
glom-devel-list mailing list
glom-devel-list@...
http://mail.gnome.org/mailman/listinfo/glom-devel-list