To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Hi folks. I have a table with several columns, and the dynamic calculation was going well until I define a column with an HTML Label, like this one:
String text = "<div style=\"width: 100%%; position: relative;\"><div style=\"position:absolute; left: 0; border-radius: 50%%; background-color: %s; width: 13px; height: 13px;\"></div> <div style=\"white-space: nowrap; overflow: hidden;position: absolute; left: 18px;\">%s</div></div>";
label = new Label(text, ContentMode.HTML);
Besides the label cotent is correctly displayed, the column size is not calculated, and its width is as low as column header.
I've attached an screenshot!
Thank you guys.