pub fn resize_tab(tab_id: TabId, width: usize, height: usize) -> WuiResult<()>Expand description
Resize a tab WARNING: There is a small time after resizing where elements may not be where you expect them to. This is due to the locking and callback nature of the system internally. This means that during this time click events might not “hit” the expected elements. In general it is a good idea to not display UI elements while resizing to the user anyways. Resizing should also not happen particularly often for most UI elements. For an exact time when everything is “valid” again should be when a onPaint event has fired after resizing.