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
Hi! This is a great lib and it's been working well with just small integration code. :) I'm using it in an iPad / iPhone context and was wondering if it's possible to easily enable scrolling when a user clicks and drags in 'empty space' in the window? Sort of like how it happens on most mainstream UIs on iOS and Android these days.
In the demo window included with imgui it says, "Click and drag on any empty space to move window." -- I basically want this but instead of moving the parent window, to move the containing scroll region. Thanks! :)
The text was updated successfully, but these errors were encountered:
Now that we have ConfigFlags we could consider including that sort of feature as a global flag in the codebase. Perhaps it should be wired on two-fingers touches however, which we don't have a way to wire in at the moment.
You can use invisible button covering whole screen to grab input and handle dragging. Just remember to use it at very end of your UI.
FYI I posted code to do #3379 to do this.
I'm closing this as it is essentially the same as #3379 so we can have the conversation in one spot. Will post in both threads if another solution/change is made.
Hi! This is a great lib and it's been working well with just small integration code. :) I'm using it in an iPad / iPhone context and was wondering if it's possible to easily enable scrolling when a user clicks and drags in 'empty space' in the window? Sort of like how it happens on most mainstream UIs on iOS and Android these days.
In the demo window included with imgui it says, "Click and drag on any empty space to move window." -- I basically want this but instead of moving the parent window, to move the containing scroll region. Thanks! :)
The text was updated successfully, but these errors were encountered: