resizing datagrids on mobile

Monte Goulding monte at sweattechnologies.com
Sun Sep 30 16:52:20 EDT 2012


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




More information about the use-livecode mailing list