My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
Go to Article
Advanced Search 

ADVISOR TIPS

Create Better Layouts with FileMaker Pro Alignment Tools

Learn how to use the alignment tools in FileMaker Pro for neat and orderly layouts.

By Stuart Gripman, Crooked Arm Consulting founder and president, and Advisor Basics of FileMaker Pro technical editor


One of the keys to attractive, usable layouts is keeping things neat and orderly. You should make a point of consistently sizing and aligning your fields, text, and other layout objects. One way FIleMaker Pro attempts to help you be a brilliant interface designer is by using Object Grids, a feature that "snaps" layout objects to the nearest point on an invisible grid. Object Grids is toggled from the Arrange menu (visible only in Layout Mode). Helpful as it may be, however, Object Grids is a blunt instrument. When you need fine control over the placement of your layout objects, it's time to turn off Object Grids and start using alignment tools.

Figure 1: Alignment feng shui -- Do "center" and "middle" really have different meanings?


Figure 2: Alignment part 1 -- Observe how the widest object in the group becomes the anchor for all the objects. All the smaller objects move to the center line of the largest.


Figure 3: Alignment part 2 -- In this scenario, not all the objects are in the boundaries of the largest (heavy dashed lines). When aligned, FileMaker Pro moves all the objects to the center of their combined width (dotted line).

The six basic alignment commands shown in figure 1 work as you might expect them to. Select a few objects on a layout, choose Align > Left Edges and the objects line up to the left. Simple enough, but how does FileMaker Pro "decide" where that left edge starts? When aligning objects to the left, FileMaker Pro chooses the object with the edge furthest to the left. The same goes for aligning to the top, right, and bottom. Middles and centers align a bit differently. When aligning centers, if one object you're aligning is wider than the others and the others fit in the horizontal space of the largest object, all other objects will align with the center of the largest object. In all other scenarios, the objects will align to the center of their total horizontal space. Aligning middles works the same way, but in vertical space rather than horizontal. Refer to figures 2 and 3 to see this concept illustrated.


My favorite alignment tip is for aligning field labels above their fields. Often, when working with list layouts, I make several changes to field widths so each column is just as wide as it has to be. Changing a field's width can throw off the placement of its label that I once had neatly aligned with the left or right edge of the field. When I have a field label that lies to the left of the field I just painstakingly resized, selecting them both and aligning the left edges will cause the field to jump to the left and out of position. There are a few ways to get these two objects lined up the way I want, but the quickest by far is to select them, align right edges, then immediately align left edges. Just two keystrokes get it done. By aligning the right edges first, you move the field label's left edge past the left edge of the field. Then when you align left, the field is the leftmost of the two objects and the field label is moved into alignment.

Get in Line

No reader comments ... yet.

    What do YOU think about this topic? Share your advice and thoughts using this form.

    Your Name

    REQUIRED : PUBLIC

    Your E-Mail

    REQUIRED : PRIVATE

    Job, Company

    OPTIONAL : PUBLIC

    City, State, Country

    OPTIONAL : PUBLIC

    Your Web Site

    OPTIONAL : PUBLIC

    Your Comment

    Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


    Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

    Stuart GripmanStuart Gripman is the founder and president of Crooked Arm Consulting, a FileMaker Solutions Alliance Partner firm in Berkeley, California. He previously held Senior Support positions at Claris Corp. and FileMaker Inc. Since 2000, Crooked Arm Consulting has offered custom FileMaker solutions benefiting a wide variety of people and causes from fine art patrons to the International Space Station. http://www.crookedarm.com stuart@crookedarm.com

    Printer-friendly
    page layout

    Keyword Tags: FileMaker, FileMaker FileMaker Pro, FileMaker Users

    ADVISORAMA
    When a clock is hungry, it goes back four seconds.

    ARTICLE INFO

    Advisor Basics of FileMaker Pro

    Web Edition: 2007 Week 42, Doc #19295

    Print Edition: Issue #11, Page 15

    FREE ACCESS FREE ACCESS

    SUBSCRIPTION STATUS
    You are not signed-in. If you are a subscriber to this publication, sign-in above to access locked articles. To subscribe or renew go to www.AdvisorStore.com.

    Subscribe to FileMaker Advisor Magazine

    Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

    FileMaker.Advisor.com

    Subscribe to Advisor Basics of FileMaker Pro

    Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

    FileMaker.AdvisorBasics.com

    Showcase Your Smarts

    Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

    AdvisorTips.com

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
    Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
    ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
    Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
    Hosted by Prominic.NET Website powered by
    LOTUS SOFTWARE
    grips015-03 posted 10/16/2007 modified 12/03/2008 03:36:58 AM ztfmfu/ztfmfu
    domino-144.advisor.com my.advisor.com 12/03/2008 06:05:08 PM