[ANN] MobGUI themes
Roger Eller
roger.e.eller at sealedair.com
Mon Jan 6 22:29:47 EST 2014
Honestly, I haven't yet tried the 'new' MG objects beyond the IDE. The old
ones do work in full screen. Well, the ones that I've tried do.
On Jan 6, 2014 9:59 PM, "Mike Kerner" <MikeKerner at roadrunner.com> wrote:
>
> It's the interaction of that with the new MG that I'm not sure I have a
> handle on, yet.
>
>
> On Mon, Jan 6, 2014 at 5:30 PM, Roger Eller <roger.e.eller at sealedair.com
>wrote:
>
> > The "NoBorder" option, and "letterbox" are what I have been using most.
My
> > layout is 16:9 wide for my current tablet app. I just have to keep
objects
> > from being too close to the top and bottom so they don't get cropped
when
> > the same app is running on a 4:3 device. I would suggest a different
stack
> > for phones so the objects can be large enough to be touch-friendly.
> >
> > Here's what I have in preOpenStack for my 16:9 wide-screen app:
> >
> > put item 3 of the screenRect into tW
> > put item 4 of the screenRect into tH
> > put (tH/tW) into tScale
> > if tScale > 0.6 then
> > put "4:3" into tAspectRatio
> > set the fullscreenmode of this stack to "letterbox" -- shows thin
> > black bars at top and bottom (doesn't look bad to me)
> > else
> > -- assume wide-screen
> > put "16:9" into tAspectRatio
> > set the fullscreenmode of this stack to "noBorder"
> > end if
> >
> > This newsletter has a nice little diagram to show the affect of the
> > fullscreenmode options.
> >
> > http://newsletters.livecode.com/november/issue162/newsletter1.html
> >
> > ~Roger
> >
> >
> > On Mon, Jan 6, 2014 at 3:48 PM, Mike Kerner <MikeKerner at roadrunner.com
> > >wrote:
> >
> > > Well, then maybe I don't understand. When I build a layout for a
certain
> > > size, and then put the app on a device that is larger, the controls
all
> > > grow, even though the DPI is the same. I believe the controls are
> > supposed
> > > to remain a certain real-world size, not maintain a certain
proportion of
> > > the screen. Otherwise if, for instance, you develop for a 3.5"
iphone 4
> > > and then put your app on a 4" iphone 5, the controls will all be
taller
> > > than they were. So what I'm trying to ask is whether I have to build
> > three
> > > layouts for ios for landscape (it's three, now, right?), in order to
> > > maintain aspect ratios (and three for portrait), because the
combination
> > of
> > > MG and LC will result in controls resizing.
> > >
> > > So now take it to Android, where there are a multitude of screen
sizes.
> > If
> > > you do a layout for one size, but the app is run on another size,
what is
> > > LC going to do to MG's controls?
> > >
> > > I haven't messed with THIS version, but on the one prior to this, just
> > > resizing in MG caused ratios to go all over. I'm just trying to make
> > sure
> > > I understand how it works before I start (another) new project.
> > >
More information about the use-livecode
mailing list