You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be a different solution to the same problem (#81), but probably a capability missing:
This knows how large the Column is horizontally, yet I have to give every single Text() a separate background = to make it look like a box (and fail because #81).
Column {
Text("+----------------+", color =Black, background =Cyan)
menu.items.forEach { item ->if (item.separator) {
Text("| ${item.name} |", color =Black, background =Cyan)
} else {
Text("| ${item.name} |", color =White, background =Cyan)
}
}
Text("+----------------+", color =Black, background =Cyan)
}
I would expect to have some syntax to achieve the same (or even better fully filled box-like) UI:
Column(background =Cyan) {
Text("+----------------+", color =Black)
menu.items.forEach { item ->if (item.separator) {
Text("| ${item.name} |", color =Black)
} else {
Text("| ${item.name} |", color =White)
}
}
Text("+----------------+", color =Black)
}
The text was updated successfully, but these errors were encountered:
Might be a different solution to the same problem (#81), but probably a capability missing:
This knows how large the Column is horizontally, yet I have to give every single
Text()
a separatebackground =
to make it look like a box (and fail because #81).I would expect to have some syntax to achieve the same (or even better fully filled box-like) UI:
The text was updated successfully, but these errors were encountered: