autoSize
Request that the window resize to fit contents up to max_size. This takes effect next frame.
If max_size width/height is zero, use up to the screen size.
This might take 2 frames if there is a textLayout with break_lines.
Parameters
- self:*FloatingWindowWidget
- *FloatingWindowWidget
Source
Implementation
pub fn autoSize(self: *FloatingWindowWidget) void {
self.auto_size = true;
}