Skip to content
New issue

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

Creating a table with header row disabled breaks the content display. #2449

Open
retUrn3d opened this issue Dec 14, 2024 · 0 comments
Open
Labels
state: pending not addressed yet type: bug bug

Comments

@retUrn3d
Copy link

Version of Dear PyGui

Version: 2.0.0
Operating System: Windows 10

My Issue/Question

dpg.table() with header_row=False does not display adding new rows.

To Reproduce

  1. Create dpg.table() with header_row=False
  2. Try to add a row with any content.
  3. nothing happens :(

Expected behavior

dpg.table() with header_row=False displays the addition of new rows.

Prior to version 2.0.0, everything worked as expected.

Screenshots/Video

bad
good

Standalone, minimal, complete and verifiable example

import time
import dearpygui.dearpygui as dpg

dpg.create_context()

with dpg.window(tag='main_window'):
    with dpg.table(header_row=True, tag='test_table'):
        dpg.add_table_column(width_fixed=True)


def test():
    #  Don't judge me, I was too lazy to think.
    while True:
        dpg.render_dearpygui_frame()
        time.sleep(1)
        with dpg.table_row(parent='test_table'):
            dpg.add_text('TEST')



dpg.create_viewport(title='TEST')
dpg.set_primary_window('main_window', value=True)
dpg.setup_dearpygui()
dpg.show_viewport()
test()
dpg.start_dearpygui()
dpg.destroy_context()
@retUrn3d retUrn3d added state: pending not addressed yet type: bug bug labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: pending not addressed yet type: bug bug
Projects
None yet
Development

No branches or pull requests

1 participant