mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	InputFloat: When using ImGuiInputTextFlags_ReadOnly the step buttons are disabled. (#2257)
This commit is contained in:
		| @@ -480,7 +480,7 @@ static void ShowDemoWindowWidgets() | ||||
|             ImGui::SameLine(); ShowHelpMarker("You can apply arithmetic operators +,*,/ on numerical values.\n  e.g. [ 100 ], input \'*2\', result becomes [ 200 ]\nUse +- to subtract.\n"); | ||||
|  | ||||
|             static float f0 = 0.001f; | ||||
|             ImGui::InputFloat("input float", &f0, 0.01f, 1.0f); | ||||
|             ImGui::InputFloat("input float", &f0, 0.01f, 1.0f, "%.3f"); | ||||
|  | ||||
|             static double d0 = 999999.00000001; | ||||
|             ImGui::InputDouble("input double", &d0, 0.01f, 1.0f, "%.8f"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user