noobOmat
11-01-2011 08:38:18
Hi,
I try to create a Button Widget as a child of a StaticImage Widget. The display works fine (the StaticImage as well as the Button are shown), but the Button doesn't seem to respond to any mouse actions anymore (no hover change, no action processed when clicked etc).
When I create the Button as a direct child of root everything works just as expected, but I'd like to position the Button relative to the underlying StaticImage, so if I'm not mistaken attaching it as a child would be the way to go.
In another GUI I used Buttons as childs of the window widget and I haven't experienced these problems there. So I wonder if there is anything special about the StaticImage widget, which prevents using buttons as childs?
I try to create a Button Widget as a child of a StaticImage Widget. The display works fine (the StaticImage as well as the Button are shown), but the Button doesn't seem to respond to any mouse actions anymore (no hover change, no action processed when clicked etc).
When I create the Button as a direct child of root everything works just as expected, but I'd like to position the Button relative to the underlying StaticImage, so if I'm not mistaken attaching it as a child would be the way to go.
In another GUI I used Buttons as childs of the window widget and I haven't experienced these problems there. So I wonder if there is anything special about the StaticImage widget, which prevents using buttons as childs?