6 Replies Latest reply on Jun 13, 2016 11:07 PM by Stephen Huston

    Sizing, position and themes

    cillion

      Hi.

      1. How do you size the objects so they automaticly gets bigger if the screen is bigger?

      2. If the screen sice of one computer is differente than another user, the layout need to position relative to the size of the screen

      3. If the elements is going to be a standar on every layouts I create, how to save and assign the current position and element to another layout?

        • 1. Re: Sizing, position and themes
          jormond

          1. There are anchors for objects. It takes some getting used to how they work together to get the effect you want. Just note, if you are trying to get all objects to resize proportionally, it won't work that way in FM. To achieve something that mimics that effect, you have to be a bit creative with your design to work with the built in anchor/resizing feature set.

           

          2. Use scripts to position the window. It's just math from there.

           

          3. There are 'guides' that you can use. Set them on the layout and then make them show on every layout ( see the online help for instructions on how to turn them on ). As for the objects...Group > Copy > Paste. Or Duplicate layout > Change table connected to the layout, etc.

          • 2. Re: Sizing, position and themes
            keywords

            Re your question 2, It's a good idea to create the layout to suit the smallest screen likely to use it. You can enlarge easily, but you can't shrink.

            • 3. Re: Sizing, position and themes
              cillion

              keywords skrev:

               

              Re your question 2, It's a good idea to create the layout to suit the smallest screen likely to use it. You can enlarge easily, but you can't shrink.

              How to enlarge it automaticly?

              • 4. Re: Sizing, position and themes
                jormond

                Use the layout objects and anchors in the inspector palette.

                • 5. Re: Sizing, position and themes
                  siplus

                  for 3) the best thing to do is to create a "perfect layout", just the way you want it from an interface point of view, with styles for everything, then keep duplicating it and deleting the unneeded elements. Rename the duplicates appropriately and work further on them, adding new elements as needed.

                   

                  For 1) I usually prefer to design big enough on a 27" in 100% zoom and always switch to 75" if the screen is 21", or design at 150% on 27" and go to 100% on 21". Get(ScreenWidth) and Get(ScreenHeight) will provide the info you need to make decisions.

                  • 6. Re: Sizing, position and themes
                    Stephen Huston

                    Another option — not a sizing solution but sometimes useful for screen size variations that aren't extreme — select all layout objects and turn OFF all positioning anchors. Then your layout floats to the center of any size screen (if screen is not too small).