You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I find that having a wrap option for horizontal groups would make a lot of sense since the option exists for items such as a text item. It would particularily be fit for groups containing items that will be dynamically shown/hidden and/or added/removed.
Describe the solution you'd like
The possiblity to write :
withdpg.group(horizontal=True, wrap=150):
# add some items# items will wrap on new line if exceeding wrap limit
or alternatively, wrap group if the last item comes out of the viewport :
withdpg.group(horizontal=True, wrap=True):
# add some items# items will autowrap on a new line if coming off viewport
Describe alternatives you've considered
So far, I have the following code which will create or remove new horizontal groups upon checkboxes creation :
Is your feature request related to a problem? Please describe.
I find that having a wrap option for horizontal groups would make a lot of sense since the option exists for items such as a text item. It would particularily be fit for groups containing items that will be dynamically shown/hidden and/or added/removed.
Describe the solution you'd like
The possiblity to write :
or alternatively, wrap group if the last item comes out of the viewport :
Describe alternatives you've considered
So far, I have the following code which will create or remove new horizontal groups upon checkboxes creation :
You can see it is quite the amount of work to get to our ends.
Here is a preview of the behavior of this code:
Thanks for the huge work on dpg !
The text was updated successfully, but these errors were encountered: