mirror of
https://github.com/ocornut/imgui.git
synced 2025-06-18 13:50:56 +08:00
Demo: add indentation to simplify upcoming merges.
This commit is contained in:
parent
91f72bbe1c
commit
c3d7ada9df
@ -8244,6 +8244,8 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref)
|
||||
|
||||
PushItemWidth(GetWindowWidth() * 0.50f);
|
||||
|
||||
{
|
||||
// General
|
||||
if (ShowStyleSelector("Colors##Selector"))
|
||||
ref_saved_style = style;
|
||||
ShowFontSelector("Fonts##Selector");
|
||||
@ -8256,6 +8258,7 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref)
|
||||
{ bool border = (style.FrameBorderSize > 0.0f); if (Checkbox("FrameBorder", &border)) { style.FrameBorderSize = border ? 1.0f : 0.0f; } }
|
||||
SameLine();
|
||||
{ bool border = (style.PopupBorderSize > 0.0f); if (Checkbox("PopupBorder", &border)) { style.PopupBorderSize = border ? 1.0f : 0.0f; } }
|
||||
}
|
||||
|
||||
// Save/Revert button
|
||||
if (Button("Save Ref"))
|
||||
|
Loading…
Reference in New Issue
Block a user