does always_vertical_scrollbar work for anyone? #339
Unanswered
biggysmith
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hum, the code below from imgui_bundle import imgui, hello_imgui
def gui():
window_flags = imgui.WindowFlags_.always_vertical_scrollbar.value
a, b= imgui.begin("Hello", None, window_flags)
imgui.text("Hello, world!")
imgui.end()
hello_imgui.run(gui) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm porting a cpp imgui app to python but always_vertical_scrollbar seems to have no effect. In my cpp code ImGuiWindowFlags_::ImGuiWindowFlags_AlwaysVerticalScrollbar works fine but the equivalent imgui.WindowFlags_.always_vertical_scrollbar doesn't.
I've tried various versions of the following:
window_flags = 0
window_flags |= imgui.WindowFlags_.always_vertical_scrollbar.value
a, b= imgui.begin(self.title, None, window_flags)
anyone managed to get this working in python before?
Beta Was this translation helpful? Give feedback.
All reactions