autoPosition
Request that the window center itself on its parent (or InitOptions.center_on). This takes effect next frame.
Parameters
- self:*FloatingWindowWidget
- *FloatingWindowWidget
Source
Implementation
pub fn autoPosition(self: *FloatingWindowWidget) void {
self.auto_pos = true;
}