vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
35 stars 14 forks source link

RadioButtons layout #16

Closed antongit closed 1 year ago

antongit commented 1 year ago

DemoWindow shows RadioButtons in the same line:

image

The source: https://github.com/ocornut/imgui/blob/5ac94ad898ba23ed3008f524db70aff1d0442e9e/imgui_demo.cpp#L6268

It is just placing SameLine after the each RadioButton. It is not possible in our RadioButtons widget. How can we approach it?

I have 2 usecases where our RadioButtons can't help me:

  1. I want to place (?) after each item (like in the screenshot, but after each item). With ImGui it's possible, but it's not possible with our Widget.
  2. I want to place items on the same line