welu1805 Active Member Licensed User Longtime User Feb 26, 2016 #1 Hi all, does anyone know how to set the item height in a listView? Thanks Lutz
rwblinn Well-Known Member Licensed User Longtime User Feb 26, 2016 #2 Hi, pls find attached example by using an external stylesheet in the files folder. Add this stylesheet to the form. B4X: 'File: main.css .list-cell { -fx-cell-size: 50px ; } B4X: 'Ensure to add the file main.css, which is stored in files folder to the B4J IDE files tab MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "main.css")) Attachments ListViewSetItemHeight.zip 1.3 KB · Views: 271 Last edited: Feb 26, 2016 Upvote 0
Hi, pls find attached example by using an external stylesheet in the files folder. Add this stylesheet to the form. B4X: 'File: main.css .list-cell { -fx-cell-size: 50px ; } B4X: 'Ensure to add the file main.css, which is stored in files folder to the B4J IDE files tab MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "main.css"))