Skip to content

Commit

Permalink
fix: move hint in demo to right position #2123
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuMazzi authored and hoffstadt committed Sep 25, 2024
1 parent 439931d commit 87fad73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dearpygui/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ def _log(sender, app_data, user_data):
dpg.add_slider_float(label="slider float", max_value=1.0, format="ratio = %.3f", callback=_log)
dpg.add_slider_double(label="slider double", max_value=1.0, format="ratio = %.14f", callback=_log)
dpg.add_slider_int(label="slider angle", min_value=-360, max_value=360, format="%d deg", callback=_log)
dpg.add_color_edit((102, 179, 0, 128), label="color edit 4", callback=_log)
_help(
"Click on the colored square to open a color picker.\n"
"Click and hold to use drag and drop.\n"
"Right-click on the colored square to show options.\n"
"CTRL+click on individual component to input value.\n")
dpg.add_color_edit((102, 179, 0, 128), label="color edit 4", callback=_log)
dpg.add_color_edit(default_value=(.5, 1, .25, .1), label="color edit 4", callback=_log)
dpg.add_listbox(("Apple", "Banana", "Cherry", "Kiwi", "Mango", "Orange", "Pineapple", "Strawberry", "Watermelon"), label="listbox", num_items=4, callback=_log)
dpg.add_color_button()
Expand Down

0 comments on commit 87fad73

Please sign in to comment.