DearPyGui
DearPyGui copied to clipboard
Deactivate +/- buttons for input double with step = 0
Version
Dear PyGui Version: 1.6.0 Operating System: macOS 12.3
Issue
Deactivating the +/- buttons with step=0 does not work with the new add_input_double item.
This works fine with add_input_float.
To Reproduce
import dearpygui.dearpygui as dpg
dpg.create_context()
with dpg.window(label="Issue", width=400, height=600):
dpg.add_input_float(label="float input", default_value=1.234, step=0)
dpg.add_input_double(label="double input", default_value=1.234, step=0)
dpg.create_viewport(title="Custom Title", width=400, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Result with issue (+ - buttons are still visible)
Working on it!
fixed in #1794