Group Height

Started by ., June 03, 2008, 03:49:40 PM

Previous topic - Next topic

.

Hi,

In my per file I have declared a group like so

       <G status  >           #  I have other items on the left
           [s1]


radiogroup  s1 = formonly.lv_status,
                         comments="customer status",
                         orientation=vertical,
                         items=(("A","Active")),("I","InActive");

The problem I am facing is that the group takes the height of the  form which is uneccessarily big since it only has one item

looking at the 42f XML file generated after compling I manually changed gridHeight from 16 to 5 and I got it the size that I want
                                       
               <Group text="Status" posY="1" posX="83" gridWidth="11" gridHeight="16">

In the  .per file how can I set the height?

Reuben B.

Quote from: Bothwell Watadza on June 03, 2008, 03:49:40 PM
Hi,

In my per file I have declared a group like so

       <G status  >           #  I have other items on the left
           [s1]


radiogroup  s1 = formonly.lv_status,
                         comments="customer status",
                         orientation=vertical,
                         items=(("A","Active")),("I","InActive");

The problem I am facing is that the group takes the height of the  form which is uneccessarily big since it only has one item

looking at the 42f XML file generated after compling I manually changed gridHeight from 16 to 5 and I got it the size that I want
                                       
               <Group text="Status" posY="1" posX="83" gridWidth="11" gridHeight="16">

In the  .per file how can I set the height?


Try ...
Code (per) Select

<G status   >
[s1]
<           >
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

.

Thanks Reuben, it works.