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
Originally suggested here. Pulled out into it's own issue for clarity because it is hard to handle large issues nested inside a multi issue chain.
Let's say I was in the (not uncommon) situation of wanting to display multiple pieces of information to the user at one time. To keep it simple, let's say I wanted to display name, hp, xp, level, and mana. To do this the traditional way, this would require 5 UITextBoxes, 10 if I wanted to display what the value stood for next to it. Enter the (tentatively named) UITable. With only one ui_element it should be possible to keep track of all those pieces of information.
# Note that this is only an example implementation to show desired featurescharacter_sheet=UITable(relative_rect=Rect(x, y, w, h), manager=manager)
character_sheet.title='Character Sheet'character_sheet.add_column(header=None, rows=['name', 'hp', 'xp', 'level', 'mana'])
character_sheet.add_colum(header=None, rows=['Bob', 10, 0, 1, 10])
The text was updated successfully, but these errors were encountered:
Originally suggested here. Pulled out into it's own issue for clarity because it is hard to handle large issues nested inside a multi issue chain.
The text was updated successfully, but these errors were encountered: