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.

Layout that fits different screen sizes

Featured Replies

Is it possible to build a layout that fits different screen resolutions, say 1024 x 768 pixels, 800 x 600 pixesls or 640 x 480 pixels?

I am using FM 6.0.

Not sure I understand the question. If you create a layout small enough for the 640x480 screen, it will certainly "fit" the 800x600 and 1024x768 screens. But, I don't think this is really your question.

Your options are generally to design a layout for the lowest resolution or to design three layouts (or sets of layouts) for the different screen resolutions.

-bd

  • Author

Yes, I want a layout when maximizing the windoow will fit different screent sizes.

You just build the layout the size you want. The question is kind of like, "How do I breathe?"

If you're Maximizing the window, it's going to expand to the full size.

If, on the other hand, you Restore a window, it will shrink to the right-bottom object (Form View). You can just put a little invisible square there, or make the whole background one big square (locked). In List view it's just the right object, usually I draw a line at the bottom of the Header. The bottom takes care of itself.

The real question is, "How do I go to the right layout?" Use Status(CurrentScreenWidth), and cutoff points where you think it should go to a smaller layout. It's kind of difficult to accommodate people who use odd resolutions.

Do you really have people using 640x480? That's awful.

FMP does not offer a method of making layouts that expand or contract themselves, not even FMP 7. (FMP 7 offers much better window control, but that's different.) The closest is the Set Zoom Level command but it is relativley crude and offers little control, and I do not consider it a "professional" quality technique.

The best you can do is make different versions of the layouts and select them depending on the user's current screen size, asd Fenton sugests. For complex solution this means a lot of work.

I put a good deal of effort getting the clients to nominate one screen size for the solution; specifically itemising the cost to build layouts for each additional screen resolution is often persuasive.

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.