Replies: 2 comments
-
Well, we have: def push_style_var(idx: StyleVar, val: ImVec2) -> None:
...
# Where
StyleVar = int So, it requires an int which you can get with: imgui.push_style_var(imgui.Style.window_padding.value ,ImVec2(50,50)) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your fast reply! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to add windows padding using Python, but I cannot find the solution.
The closest statement I could find is this;
imgui.push_style_var(imgui.Style.window_padding,ImVec2(50,50))
But the statement is giving a type error.
Is there a solution for adding windows padding?
Regards,
Jochem
Beta Was this translation helpful? Give feedback.
All reactions