Widget.fixedSize

Set the fixed size of this widget

If nonzero, components of the fixed size attribute override any values computed by a layout generator associated with this widget. Note that just setting the fixed size alone is not enough to actually change its size; this is done with a call to nanogui.widget.Widget.size or a call to nanogui.widget.Widget.performLayout in the parent widget.

  1. void fixedSize(Vector2i fixedSize)
    class Widget
    final
    void
    fixedSize
  2. Vector2i fixedSize()

Meta