Widget.preferredSize

Compute the preferred size of the widget considering its child except skipped one (for example button panel of window)

  1. Vector2i preferredSize(NanoContext ctx)
  2. Vector2i preferredSize(NanoContext ctx, Widget skipped)
    class Widget
    final const
    preferredSize

Meta