Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
ui module TableView resizing problem.
-
My tableview is not getting automatically resized. What am I doing wrong?
import ui view = ui.View(name="Choose release") table = ui.TableView(flex="WH") lst = ui.ListDataSource(["v1.0.1", "v1.0"]) table.data_source = lst view.add_subview(table) view.present("sheet")
-
table.flex="WH" will do it. You can not pass flex into the init() method.
-
@ccc, thanks. It was so simple :)