cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 List text height

408

Hello,

I'm developing an UI5 application where I have the main screen which is a List with some fields son at the end I have a button, so my problem is that I don't know how to align in height/vertically all the elements.

As you see the first three elements aren't at the same height as the final button.


Some suggestion?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

boghyon
Product and Topic Expert
Product and Topic Expert

See the sample "Table - Vertical Alignment" from the Demo Kit.
Accordingly, setting the property "vAlign" to "Middle" should be sufficient in your case.

<ColumnListItem vAlign="Middle">
0 Kudos

Thanks so much, I was setting the "vAling" directly to the cells and didn't work.

Answers (1)

Answers (1)

Valeck
Participant
0 Kudos

try with

class="sapUiSizeCompact"
0 Kudos

Hi, the first comment soluted very well my problem anyways thanks.