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

Table column and row freeze inverted/swapped #1467

Closed
Pcothren opened this issue Dec 8, 2021 · 0 comments
Closed

Table column and row freeze inverted/swapped #1467

Pcothren opened this issue Dec 8, 2021 · 0 comments
Assignees
Labels
state: ready Fixed/Added and will be present in an upcoming release type: bug bug

Comments

@Pcothren
Copy link
Collaborator

Pcothren commented Dec 8, 2021

Version of Dear PyGui

Version: 1.1.2
Operating System: All

row and column freeze

A clear and concise description of what the issue/question is. Please provide as much context as possible.

To Reproduce

Steps to reproduce the behavior:
Scroll left and right in table to see column and row freeze

Expected behavior

column and row freeze were swapped

Standalone, minimal, complete and verifiable example

import dearpygui.dearpygui as dpg

dpg.create_context()

with dpg.window(tag="Primary Window") as main:
    with dpg.child_window() as table:
        with dpg.table(header_row=True, freeze_rows=1, freeze_columns=3,
                       scrollY=True, scrollX=True,width=400,
                       policy=dpg.mvTable_SizingFixedFit):
            for i in range(0, 7):
                dpg.add_table_column(label=f'col_{i}')

            for i in range(0, 20):
                with dpg.table_row():
                    for j in range(0, 7):
                        with dpg.table_cell():
                            dpg.add_text(f"Row{i} Column{j}")


dpg.create_viewport(title='Custom Title', width=600, height=200)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.set_primary_window("Primary Window", True)
dpg.start_dearpygui()
dpg.destroy_context()
@Pcothren Pcothren added state: pending not addressed yet type: bug bug labels Dec 8, 2021
@Pcothren Pcothren self-assigned this Dec 8, 2021
@Pcothren Pcothren added state: ready Fixed/Added and will be present in an upcoming release and removed state: pending not addressed yet labels Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: ready Fixed/Added and will be present in an upcoming release type: bug bug
Projects
None yet
Development

No branches or pull requests

2 participants