mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Reorder fields for consistency.
This commit is contained in:
		| @@ -703,8 +703,8 @@ ImGuiStyle::ImGuiStyle() | ||||
| { | ||||
|     Alpha                   = 1.0f;             // Global alpha applies to everything in ImGui | ||||
|     WindowPadding           = ImVec2(8,8);      // Padding within a window | ||||
|     WindowMinSize           = ImVec2(32,32);    // Minimum window size | ||||
|     WindowRounding          = 9.0f;             // Radius of window corners rounding. Set to 0.0f to have rectangular windows | ||||
|     WindowMinSize           = ImVec2(32,32);    // Minimum window size | ||||
|     WindowTitleAlign        = ImVec2(0.0f,0.5f);// Alignment for title bar text | ||||
|     ChildRounding           = 0.0f;             // Radius of child window corners rounding. Set to 0.0f to have rectangular child windows | ||||
|     PopupRounding           = 0.0f;             // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows | ||||
| @@ -734,8 +734,8 @@ ImGuiStyle::ImGuiStyle() | ||||
| void ImGuiStyle::ScaleAllSizes(float scale_factor) | ||||
| { | ||||
|     WindowPadding = ImFloor(WindowPadding * scale_factor); | ||||
|     WindowMinSize = ImFloor(WindowMinSize * scale_factor); | ||||
|     WindowRounding = ImFloor(WindowRounding * scale_factor); | ||||
|     WindowMinSize = ImFloor(WindowMinSize * scale_factor); | ||||
|     ChildRounding = ImFloor(ChildRounding * scale_factor); | ||||
|     PopupRounding = ImFloor(PopupRounding * scale_factor); | ||||
|     FramePadding = ImFloor(FramePadding * scale_factor); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user