mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-16 18:25:01 +00:00
Demo: added decorated label to some vertical sliders.
This commit is contained in:
parent
82fa628135
commit
fa5ae60bce
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ void ImGui::ShowTestWindow(bool* p_open)
|
|||
if (i > 0) ImGui::SameLine();
|
||||
ImGui::PushID(i);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_GrabMinSize, 40);
|
||||
ImGui::VSliderFloat("##v", ImVec2(40,160), &values[i], 0.0f, 1.0f, "%.2f");
|
||||
ImGui::VSliderFloat("##v", ImVec2(40,160), &values[i], 0.0f, 1.0f, "%.2f\nsec");
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue