Вопрос ImGUI Issue with Sliders

Начинающий
Статус
Оффлайн
Регистрация
4 Янв 2020
Сообщения
34
Реакции[?]
4
Поинты[?]
0
Hi
Im trying to change stuff with imgui but im new so i kinda dont know how edit the width of sliders and make more space before slider because for some short names it works fine, with longer it looks like there is no space before it.
I attach picture to show you what i mean.
 

Вложения

Эксперт
Статус
Оффлайн
Регистрация
30 Дек 2019
Сообщения
1,970
Реакции[?]
958
Поинты[?]
19K
Find ImGui::SliderScalar



window->DrawList->AddRect(frame_bb.Min - ImVec2(0, 5), frame_bb.Max + ImVec2(0.f, 2.f) + ImVec2(0, 0), ImColor(20, 20, 20, 255), 15.f, 1, 1.0f);// your slider

frame_bb +/-
 
Сверху Снизу