WebListBox Column Alignment

If WebListBox Column Alignment and ColumnStyle no longer an option?

Thanks

Take a look at

[http://docs.xojo.com/WebListBoxStyleRenderer](http://docs.xojo.com/WebListBoxStyleRenderer)

there is no textalignment in the webstyle.
do you have to use the CSS of the webstyle to center a text in a cell ?

Thanks very much Jean-Yves and Hector

So has someone a solution to get right aligned text into a WebListbox in Xojo 2021?

As @Hector_Marroquin said, you can do it using WebListBoxStyleRenderer.

Var style As New WebStyle
style.Value("text-align") = "right"
Me.CellValueAt(0,0) = New WebListBoxStyleRenderer(style, "Hello World!")
1 Like
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.