• @JonB @cvp
    Thank you for the suggestions! I ended up going the easy way and requiring to pass in the master view. Kept the TableView hidden on the master (and thus un-touchable) until the combobox is touched.

  • You can set view.hidden =True, which sort of does what you are asking, at least for initial setup. You will see the empty view while things are prepared, but you could add an ActivityIndicator

    Also, ui.delay (not animate like i thought) will cause everything to happen at once -- the ui is not updated until the delayed function exits.

    See this example, where I show 4 methods. For a really slow setup function, you see the subviews get added one by one using the basic method (present, then setup the view) which is undesirable. Using ui.delay is nice, and you can show an activity indicator while the view sets up. You can use hidden on your root view, though it shows black while setting up. So, you can have a subview of root as your main view, and just hide the subview. This method also lets you add an activity indicator. This is probably my favorite approach. You could even write it as a context manager.


  • Unless 1.6 works differently with flex at runtime, there seems to be a problem. I am setting a scrollview's flex to 'WH' in code. What worked in 1.5, does not work now. I had to set the frame explicitly. I tried a few things to get flex working, but it did not work.

    Setting the flex attribute of a top-level view (i.e. one that you call present() on) doesn't have any effect, and it never had. The size of a view that is presented in 'sheet' style used to be fixed in 1.5 (regardless of what you set as flex, it would be something around 540x500), and in 1.6, it reflects the size of the view's frame/bounds.

    I'm aware that this may require minor code changes in some cases, but I don't see any way around that, without giving up the flexibility of having differently-sized sheets, which I find very useful.

    I cannot see a place to change the console font. Not sure if I can't find it or you have not got around to it yet.

    Didn't get to that yet. If you want a bigger font, you can use console.set_font for now:

    console.set_font('Menlo', 20)
Internal error.

Oops! Looks like something went wrong!