4 Replies Latest reply on Sep 6, 2012 10:10 AM by philmodjunk

    Re-sizing fields based on text

    JasonFok

      Title

      Re-sizing fields based on text

      Post

      Hi All,

      Is there a way to make it so a specific field will re-size based on how much text there is. Lets say if the field can hold 2 lines of text, but instead I go over and enter 3 lines of text. Is there a script that can say extend just that field? I am not looking to add a vertical scroll bar of make the text smaller to fit. 

       

      Best,

      Jason

        • 1. Re: Re-sizing fields based on text
          Sorbsbuster

          Not if you want to re-sizing to appear in browse mode.  But you can create the effect when printing using 'Slide Objects'.

          • 2. Re: Re-sizing fields based on text
            philmodjunk

            Sliding objects can "shrink" but they won't "grow". For printing/PDF/Preview purposes, you may have to set up a separate layout where the fields are many rows of text tall, but set to slide up and resize the enclosing part.

            Key facts about sliding layout objects:

            1. It's only visible in preview mode and when you print/save as PDF...
            2. Sliding fields will shrink but not expand.
            3. All layout objects below and in the same layout part as the slide/resize field need to also be set to slide up and resize.
            4. Objects in headers and footers will not slide.
            5. Portals will shrink/slide to fit the number of rows of records, but fields within the portal row will not shrink/slide.
            6. Fields will slide up only if Top, alignment is specified for it and will slide left only if left alignment is specified.
            7. Consistent side borders are difficult to achieve with sliding fields.
            • 3. Re: Re-sizing fields based on text
              JasonFok

              How do you tell a field to re-size?

              • 4. Re: Re-sizing fields based on text
                philmodjunk

                Sliding and resize are options found on the inspector's Position tab.

                Enter layout mode

                Select the field(s)

                Find these option in the Inspector and select them.