2 Replies Latest reply on Oct 25, 2013 8:06 AM by IT_User

    How can I expand the text field to fix its content?

    happyho

      Title

      How can I expand the text field to fix its content?

      Post

           hi All,

           In my table, I have a text column, sometime it has very litle characters sometime the content is too long. 

           When I design the layout If I create the text field that is too long or too short, It does not make sense when showing the content. I want a auto resize the text field to fix its content, is it possible?

            

           Please help me.

            

        • 1. Re: How can I expand the text field to fix its content?
          philmodjunk

               This is not possible in browse mode. In preview mode or when printing/saving as PDF, you can set the field to slide up and to resize enclosing part. This will cause the field to shrink to fit the data in the field. It will not expand, however, so it is often necessary to make the field oversized to make sure no text is cut off.

               In Browse mode, your best option is to enable the scroll bar option for your field.

               Key facts about sliding layout objects:

                 
          1.           It's only visible in preview mode and when you print/save as PDF...
          2.      
          3.           Sliding fields will shrink but not expand.
          4.      
          5.           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.
          6.      
          7.           Objects in headers and footers will not slide.
          8.      
          9.           Portals will shrink/slide to fit the number of rows of records, but fields within the portal row will not shrink/slide.
          10.      
          11.           Fields will slide up only if Top alignment is specified for it and will slide left only if Left alignment is specified.
          12.      
          13.           Consistent side borders are difficult to achieve with sliding fields.
          • 2. Re: How can I expand the text field to fix its content?
            IT_User

                 If you have the possibility of a lot of characters in a field, then the following probably isn't as useful.

                 In Browse Mode, if it is available, you can use conditional formatting based on the amount of characters in a field, then you would change the font size.

                 Ex. Length ( Self ) > 10 //Then change it to font size 8

                 But if you don't want to change the font size, then that would not work.