Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I have the following portal on FM16 on my MacBook, which to all intents and purposes looks fine with regard to field size, alignment including borders etc.

5aa507e07f9ca_ScreenShot2018-03-11at10_36_32.thumb.png.4a511220daca2388300d3541c82903bb.png

But when I look at the same portal in FMGO, you can see that things don't look quite so neat with regard to the click button and the first two fields.

Everything looks ok in inspector with regard to field sizing and positioning etc.

IMG_BFB2AE947884-1.thumb.jpeg.62db302b8b1d7d698696d795edeea0ac.jpeg

Just wondering if there's an easy way to square all this up so the appearance is consistent on both platforms. Is it trial and error, I have had some success with other fields in sending them to the back and front etc but I'm struggling with these last three.

The standard approach is to have a separate set of layouts for the iPad UI. You navigate accordingly to the correct set of layouts "world" in the file's startup script. You can use the Get functions to determine branching logic (borrowed from Matt Petrowski):

$$APP.ISWINDOWS = Abs ( Get(SystemPlatform) ) = 2;
$$APP.ISMOBILE = Get(SystemPlatform) = 3;
$$APP.ISIPAD = Patterncount ( Get (ApplicationVersion) ; "iPad");
$$APP.ISIPHONE = $$APP.ISMOBILE and not $$APP.ISIPAD

The reason? FMGo has different behavior than desktop. The hit zones must be larger, portals scroll bars are too narrow to be very useful. See the FMGo Development Guide

I usually set up the peer to peer network when developing for iPad and iPhone so I can watch the changes in real time, rather than constantly putting the file on the device to check.

Also, most themes have a 'touch' version better suited to IOS devices.

But it is alot of trial and terror for sizing.

  • Author
21 minutes ago, bcooney said:

The standard approach is to have a separate set of layouts for the iPad UI. You navigate accordingly to the correct set of layouts "world" in the file's startup script. You can use the Get functions to determine branching logic (borrowed from Matt Petrowski):


$$APP.ISWINDOWS = Abs ( Get(SystemPlatform) ) = 2;
$$APP.ISMOBILE = Get(SystemPlatform) = 3;
$$APP.ISIPAD = Patterncount ( Get (ApplicationVersion) ; "iPad");
$$APP.ISIPHONE = $$APP.ISMOBILE and not $$APP.ISIPAD

The reason? FMGo has different behavior than desktop. The hit zones must be larger, portals scroll bars are too narrow to be very useful. See the FMGo Development Guide

Thanks for your reply. That would be a lot of work to build seperate layouts for the iPad UI.

15 minutes ago, Steve Martino said:

I usually set up the peer to peer network when developing for iPad and iPhone so I can watch the changes in real time, rather than constantly putting the file on the device to check.

Also, most themes have a 'touch' version better suited to IOS devices.

But it is alot of trial and terror for sizing.

I have actually have it set peer to peer to see real time changes. I've had some success so far with a few fields, but struggling with the last few. I just didn't know if there was an easy way of doing this. But as bcooney pointed out, with different behaviour across both formats it doesn't appear that there is.

 make sure your using a theme designed for FMGo and all elements are saved into the theme,

Although it may seem duplicitous to have layouts for Desktop and FMGO or WD it is really the only way to go there are just some things that won't work the way you'll like on both platforms. 

 

I find that in general layouts designed for GO or WebD always look fine on the desktop (not always true the the other way around!)

My default design paradigm is to always use the Touch themes even for desktop layouts.  This keeps the layout duplication to a minimum.

Keep in mind there are aways exceptions where you will have to have duplicate layouts for Go and Desktop based on other demands (or workflow).

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.