Replies: 1 comment 1 reply
-
TableLayout doesn't currently allow changing its content after created, so you need to recreate the TableLayout. Invalidate() simply gets the control and children to redraw themselves. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever i attempt to update a TableLayout (inside a DynamicLayout inside a extended Scrollable) after the constructor of my
Form
, even though the items are there when i add them (checked with a debugger), and i do a Suspend/ResumeLayout, it never draws the items on my screenForm:
https://github.com/Beyley/Kettu/blob/568da33cd0e3cd95835182b384601394da620fd1/Kettu.BinaryReader/ReaderForm.cs#L34
Main Control:
https://github.com/Beyley/Kettu/blob/568da33cd0e3cd95835182b384601394da620fd1/Kettu.BinaryReader/ReaderControl.cs#L10
Thing which calls the code which adds the
TableRow
s:https://github.com/Beyley/Kettu/blob/568da33cd0e3cd95835182b384601394da620fd1/Kettu.BinaryReader/OpenNewCommand.cs#L23
Beta Was this translation helpful? Give feedback.
All reactions