lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
16 lines (15 loc) • 564 B
TypeScript
import { Widget, WidgetProperties } from './Widget.js';
import type { WidgetAutoXML } from '../xml/WidgetAutoXML.js';
/**
* A widget with empty space.
*
* Will always try to expand if the layout is constrained, so make sure to set
* flex or pass it along the constructor
*
* @category Widget
*/
export declare class Spacing extends Widget {
static autoXML: WidgetAutoXML;
constructor(properties?: Readonly<WidgetProperties>);
protected handleResolveDimensions(minWidth: number, _maxWidth: number, minHeight: number, _maxHeight: number): void;
}