cancel
Showing results for 
Search instead for 
Did you mean: 

Resize OpenUi5 comboboxes

0 Kudos

Hi, I have some text fields and combo boxes inside a form following this sample (

https://openui5.hana.ondemand.com/#/sample/sap.ui.layout.sample.FormToolbar/preview). In the sample, the height of the elements is small. In my form even though I am using the same code, the elements are much bigger. I am able to control the width, but I haven't found a way to change the height. How can I do this? Thank you

Accepted Solutions (1)

Accepted Solutions (1)

brian_keenan
Contributor

SAPUI5 provides a “content density” factor, which allows the size of the controls to be adjusted depending on the interaction style. Maybe this is the cause

https://experience.sap.com/fiori-design-web/cozy-compact/

Check which class your form items have "sapUiSizeCompact" or "sapUiSizeCozy"

Answers (1)

Answers (1)

former_member227918
Active Contributor
0 Kudos

above is the case as Brian has suggested I guess, you can try to give class "sapUiSizeCompact" to form, all elements of form will be compacted.