on 2018 Jun 07 9:12 AM
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
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.