DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Layout?

Open RealAquilus opened this issue 2 years ago • 1 comments

Hi, to start i would like to say that i really love this imgui bind for python it is really straight forward and i'm getting a lot of fun with it. Now, i would like to ask since i didn't find a proper way. How can i make a layout like this?

46339624-96c62580-c633-11e8-8fc5-79d3a14c2c97

i managed to find that dpg.configure_app(docking=True) does activate docking mode and with that i can manyally once the app is luanched, build the desidered layout, but i don't want the docking system i would like to build something like that from the start. So, how can i directly build this layout where you can resize windows and those are locked in some position (left, bottom etc)

here is another example: 46362617-6903cf80-c679-11e8-9f2d-084572f31ae7

Once again thanks for the project i love it!

RealAquilus avatar Aug 27 '22 00:08 RealAquilus

i managed to find that dpg.configure_app(docking=True) does activate docking mode and with that i can manually once the app is launched, build the desired layout, but i don't want the docking system i would like to build something like that from the start.

You can build the desired layout you want once and then save that layout. Then every time you open the app it loads the saved layout automatically. Full details are here: How do I save a window docking layout?

my1e5 avatar Aug 30 '22 10:08 my1e5

You could also look at the examples in the showcase gallery and study the code of the various applications.

bandit-masked avatar Jan 04 '23 22:01 bandit-masked