Closed chipkent closed 3 weeks ago
It's there, just has no height. Moving it outside the flex would work. Unsure what I would expect as a better default behaviour in this case.
@chipkent as Don said, move the risk
table out of that ui.flex
, you should be able to get rid of that inner flex entirely, e.g.:
return ui.flex(
risk_roll,
# ui.tabs(ui.tab_panels(ui.item(risk_roll), ui.item(risk))),
ui.flex(pick_account, pick_usym, pick_expiry, direction="row"),
risk,
# ui.row(pick_account, pick_usym, pick_expiry),
# betas.where("USym = usym") if usym else betas,
# risk,
direction="column"
)
It's behaving correctly, we might decide to do something about the zero-height tables in the future. Closing the ticket for now.
Version: 0.34.3
In the following code, the
risk
table does not appear in the widget.