Hi there, i was wondering how to use an image as a button, so i obviously chose the DirectButton. But, after using image=(...)
or geom=(...)
(as in documentation) the image gets loaded on the button
but the default rectangle remains visible. How do you set the image itself as the button?
rdb
June 11, 2023, 3:04pm
2
Use relief=None
to disable the default edges.
By the way, have you looked at DirectGUI Designer? It’s a tool, made by a community member, that may aid in the making of UIs with DirectGUI.
See the link here:
Hey everyone,
creating GUIs in Panda3D can be a tedious task at times and not everyone designing a GUI is a coder. That’s why I’ve created and now proudly present to you, the DirectGui Designer.
DirectGui Designer
I've created this application to simplify the task of designing and creating user interfaces with Panda3Ds DirectGui system as much as possible.
Currently, it is in a kind of Beta state where all features should work but some things might still be missing and bugs will lurk in the…
1 Like