Friday 18 November 2011

ADF- Form Layout Basics

Initally, when I started working with ADF, I found that form layout should be used for label alignment of input/output fields, when you want to display them in a 'column X row' format. This is not straight forward unless you change the properties that are available in the form component. Following properties are required to be modified to achieve a proper layout of your desire.


  1. When you drag and drop a form layout following properties have the default values.
         Rows - 2147483647
         LabelAlignment - default(TOP)
  2. If you want to show the components inside the form layout in  X No. of rows and  X No. of columns, then you need to override the above value by setting the No. of rows you want and No. of columns you want. e.g., If you have 10 input text then if you want them in a two column layout you need to set 'Row = 5' and 'Column = 2'.
  3. LabelAlignment by default will be on top of the text field in case of Input Text. To have the label in line with the input/output text we need to change this property to 'Start'
  4. Next, if you have a lengthy label and you want to wrap the label at a particular length then you need to set a value for LabelWidth property of form layout.
With the above options that are available in the form layout you would be able to change the layout as per your requriement.

1 comment:

  1. Coin Casino - Play The Best Games for Real Money at CasinoWow
    Best Online Casino for Canadian Players 2021 | CasinoWow | #1 for Canadian players ✔️ Welcome to Canada's most popular casino 인카지노 site ⭐ Free 바카라 Spins & 1xbet Jackpots

    ReplyDelete