resizing datagrids on mobile

Andre Garzia andre at andregarzia.com
Sun Sep 30 17:54:26 EDT 2012


Hi Monte,

I think we need real tables, not the datagrid. Even though the datagrid is
a really impressive proof of what can be done with LiveCode alone, it is
really hard to use some times.

The whole business of resizing everything, recalculating font sizes and
text heights is getting on my nerves. :-)


On Sun, Sep 30, 2012 at 5:52 PM, Monte Goulding <monte at sweattechnologies.com
> wrote:

> Hi Andre
>
> It's not that complicated. Just resize everything on the template and
> reset the datagrid. Any use of pixels in your layout script needs to be
> altered to add a scaling factor but other than that your good. You also
> need to change the line height if you have a fixed height form. I haven't
> tested this with tables yet.... Not sure if I'd use a table on a mobile
> anyway.
>
> I'm considering adding this to mergDataGridScroller. I recently added
> (haven't released yet) bouncing which is cool.
>
> Cheers
>
> --
> M E R Goulding
> Software development services
>
> mergExt - There's an external for that!
>
> On 01/10/2012, at 2:39 AM, Andre Garzia <andre at andregarzia.com> wrote:
>
> > Hey Folks,
> >
> > Have anyone here tried resizing a datagrid on mobile platforms? Resizing
> > the rect of the grid is easy but how do we resize cell size and textsize?
> > At this moment I am rolling my poor version of a datagrid like table
> > because I can't think of a way to resize the inner controls of the
> datagrid.
> >
> > =/
> >
> > --
> > http://www.andregarzia.com -- All We Do Is Code.
> > http://fon.nu -- minimalist url shortening service.
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list