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

Tabs bar position not working. #2321

Open
Cherepakha-R opened this issue Apr 10, 2024 · 1 comment
Open

Tabs bar position not working. #2321

Cherepakha-R opened this issue Apr 10, 2024 · 1 comment
Labels
state: pending not addressed yet type: bug bug

Comments

@Cherepakha-R
Copy link

Version of Dear PyGui

Version: 1.11.1
Operating System: Windows 11

Tabs bar position not working.

image

# Here's some code anyone can copy and paste to reproduce your issue

import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport(title='Custom Title', width=900, height=800)
window = dpg.window( label="------", width=900, height=800, tag="Primary Window" )

with window as main_win:
	with dpg.tab_bar(label="Test", tag='tab_bar', pos=[100, 0]): # <- Not working
		with dpg.tab(label="Test Setup"):
			dpg.add_text('Testing 1')
		with dpg.tab(label="Monitoring"):
			dpg.add_text('Testing 2')
	
dpg.set_item_pos('tab_bar', [100, 100]) # <- Not working

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
@Cherepakha-R Cherepakha-R added state: pending not addressed yet type: bug bug labels Apr 10, 2024
@Cherepakha-R
Copy link
Author

Cherepakha-R commented Apr 15, 2024

And the same problem with dpg.add_separator() and dpg.table().

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