We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default_open=True
collapsing_header
Version: 1.0.0 Operating System: Windows 10
default_ope=True has no effect for collapsing_header
default_ope=True
Run below code
# Here's some code anyone can copy and paste to reproduce your issue import dearpygui.dearpygui as dpg dpg.create_context() dpg.create_viewport() dpg.setup_dearpygui() with dpg.window(label="Dear PyGui Demo", width=800, height=800, pos=(100, 100), tag="__demo_id"): with dpg.collapsing_header(label="some label", default_open=True,): dpg.add_text(default_value="Some text") dpg.show_viewport() dpg.start_dearpygui() dpg.destroy_context()
The text was updated successfully, but these errors were encountered:
@Pcothren did you fix this one?
Sorry, something went wrong.
Fixed in next release.
Regression test:
import dearpygui.dearpygui as dpg dpg.create_context() dpg.create_viewport() dpg.setup_dearpygui() with dpg.window(label="Regression", width=800, height=800): dpg.add_button(label="open cp1", callback=lambda:dpg.set_value("cp", True)) dpg.add_button(label="close cp1", callback=lambda:dpg.set_value("cp", False)) with dpg.collapsing_header(label="cp1 (default close)", tag="cp"): dpg.add_text(default_value="Some text") with dpg.collapsing_header(label="cp2 (default open)", default_open=True): dpg.add_text(default_value="Some text") dpg.show_viewport() dpg.start_dearpygui() dpg.destroy_context()
fix (mvCollapsingHeader): fixed default_open #1327
e1b409b
Pcothren
No branches or pull requests
Version of Dear PyGui
Version: 1.0.0
Operating System: Windows 10
My Issue/Question
default_ope=True
has no effect forcollapsing_header
To Reproduce
Run below code
The text was updated successfully, but these errors were encountered: