DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Deactivate +/- buttons for input double with step = 0

Open 1081 opened this issue 2 years ago • 2 comments

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)

Screenshot 2022-04-28 at 14 51 35

1081 avatar Apr 28 '22 12:04 1081

Working on it!

hoffstadt avatar May 06 '22 12:05 hoffstadt

fixed in #1794

Pcothren avatar Jun 05 '22 21:06 Pcothren