Hi @t_p,
In case the checkbox height value doesn't need to be unique for each individual row, you can increase the TemplateSize of your gallery & Checkbox height depending on the screen size:
//Gallery TemplateSize
If(
//Change ScreenName
ScreenName.Size < ScreenSize.Medium,
//Mobile height to avoid text overlap
60,
40
)
//Checkbox Height
Parent.TemplateHeight
This will increase the checkbox height for mobile devices (dependent on screen size breakpoints). Important to note is that all checkboxes will have the same height. It is not dynamic depending on the amount of text within each gallery row.
Should you want a fully dynamic height for each row individually, you could use the following workaround:
(1) Use a Flexible Height Gallery (TemplateSize depends on the required height of / amount of data in each row)
(2) Use the Checkbox control only to display the checkbox (no Text value)
(3) Use a Text Label to display the (current) checkbox text and set the AutoHeight property to true
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!