Jump to content

Enlarge fieldset/groupbox to show all components


mierlp

Recommended Posts

Hi,
 

Why do you have to enlarge Fieldsets, groupbox so it will show all components on runtime.
Left the design.png, see the height of the Fieldset to get the result as in runtime (right) .
Normally in design i would like to size everything as showed on runtime

When sizing the height from the Fieldset to a normal height (as in Runtime) then the last
dblookupcombobox will not be visible.

This is not only with Fieldset but also the groupbox. You have to enlarge width and heigth to 
show all components.

Regards Peter

Design.png

Runtime.png

Link to comment
Share on other sites

Peter it is because of the default CSS values for the type of layouts for supported by FieldSets (GroupBox is also translated into a FieldSet). You can add the following CSS to the CustomCSS in the ServerModule and then play with the values until it suits your needs. The values below are the default values, if you decrease the values of the margin-bottom and padding-top you would see a significant change.

.x-fieldset-header-default {
    padding: 2px 5px 0px 5px;
    line-height: 20px;
}

.x-autocontainer-form-item, .x-anchor-form-item, .x-vbox-form-item, .x-table-form-item {
    margin-bottom: 10px;
}

.x-form-item-label-default.x-form-item-label-top > .x-form-item-label-inner {
    padding-top: 5px;
}

 

Link to comment
Share on other sites

On 3/11/2019 at 3:58 PM, mierlp said:

Why do you have to enlarge Fieldsets, groupbox so it will show all components on runtime.

Hi,

If I understand you correctly, you can try this approach too:

UniFieldSet -> LayoutConfig -> Height = auto

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...