mierlp Posted March 11, 2019 Share Posted March 11, 2019 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 Link to comment Share on other sites More sharing options...
GerhardV Posted March 12, 2019 Share Posted March 12, 2019 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 More sharing options...
GerhardV Posted March 12, 2019 Share Posted March 12, 2019 Let me know if you need more info or if I need to show you via a share screen. You have my email. Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2019 Share Posted March 12, 2019 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 More sharing options...
mierlp Posted March 13, 2019 Author Share Posted March 13, 2019 Nice...very nice Gerhard... This works perfect. Thanks for the explanation Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now