s.esterlein Posted October 29, 2013 Share Posted October 29, 2013 Hello, As I haven't found a standart class for tables in Unigine (something like “WidgetTable”), I decided to use undocumented class Unigine::Widget::Table defined in widget_table.h and used in examples and, apparently, in Editor's GUI. Now I face a problem: I can't change content in any of the table's boxes, exept the box in the first column of the given TableRow. Content of all boxes in the table, exept of the first column's box content, is passed to the table consrtuctor. Content of the first column is set by TableRow::setText(string) method. The other methods which seems to be what I need give unexpected result (for example, setValue(int) selects column in current row) or realize unevident mechanism with bit masks. Question: how to change content in the boxes by realized means? If it is not possible, I need advice in how to realize it. Link to comment
frustum Posted November 1, 2013 Share Posted November 1, 2013 Widget::Table class is based on WidgetCanvas. You can customize it on script level. Link to comment
Recommended Posts