struct mola::gui::Row

Overview

A horizontal row containing one or more leaf widgets.

Rows may NOT be nested.

nanogui : nanogui::Widget child with BoxLayout(Horizontal, Alignment::Middle). ImGui : widgets rendered consecutively separated by ImGui::SameLine().

item_spacing overrides the inter-widget spacing in pixels (0 = default).

#include <GuiWidgetDescription.h>

struct Row
{
    // fields

    std::vector<LeafWidget> widgets;
    int item_spacing = 0;
};

Fields

int item_spacing = 0

0 = toolkit default