mirror of
https://github.com/ocornut/imgui.git
synced 2026-04-03 05:57:38 -05:00
Demo: removed some hardcoded widths.
This commit is contained in:
@@ -15224,7 +15224,7 @@ void ImGui::LogButtons()
|
||||
const bool log_to_file = Button("Log To File"); SameLine();
|
||||
const bool log_to_clipboard = Button("Log To Clipboard"); SameLine();
|
||||
PushItemFlag(ImGuiItemFlags_NoTabStop, true);
|
||||
SetNextItemWidth(80.0f);
|
||||
SetNextItemWidth(CalcTextSize("999").x);
|
||||
SliderInt("Default Depth", &g.LogDepthToExpandDefault, 0, 9, NULL);
|
||||
PopItemFlag();
|
||||
PopID();
|
||||
|
||||
Reference in New Issue
Block a user