[SOLVED] How can I set the height of an ListViewItem.

Answered Closed
0
0

Hi

how can I set the height of an ListViewItem

  • You must to post comments
Best Answer
0
0

Hi Gunter,

ItemSize is for the 3 other views only, not for the Details view.

For the Details view, the height of the rows is a theme property.

You can change it e.g. with the following mixin theme.
Simply put it into your Themes folder as Application.mixin.theme
(just tested with your sample for the Selected property):

{
“name”: “Application”,

“appearances”: {
“listview/grid-view”: {
“inherit”: “table”,
“states”: {
“default”: {
“properties”: {
“rowHeight”: 20
}
}
}
}
}
}

Best regards
Frank

  • You must to post comments
0
0

Hi Mariano

I already saw the property listView1.ItemSize, but in view=Details, that I need, this property has no effect.

 

  • You must to post comments
0
0

Hi, if listView1.view=Tile you can set the height with listView1.ItemSize property

In other view modes i don’t know.

 

  • You must to post comments
Showing 3 results