hoffstadt / hoffstadt/DearPyGui

Tabs bar position not working.

Open
#2,321 1 comment 1 reaction 0 assignees View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

## Version of Dear PyGui

Version: 1.11.1
Operating System: Windows 11

Tabs bar position not working.

![image](https://github.com/hoffstadt/DearPyGui/assets/165714681/5403f3f4-f4ec-4afe-91fe-542e772b16f2)

```python
# 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()

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.