ImGUI set size of slider to window size


the ImGui Slider has a certain size, i’d like to set its horizontal size to the size of the window ? Which layout command does this ?

GetWindowSize/SetNextItemWidth?

1 Like