Now, when I initially create my Combobox, I set it's height to be just enough to show the currently selected item in the Combox box. When that combobox is expanded though, I increase it's size to show the selectable options. Since the parent LayoutContainer is listening to changes in size, it ends up pushing all the rows below down, which looks odd. I'd prefer if the layout container did not change size when I did that.
So my question is what is the best way to handle said situation? Should I mute the EventSet when I resize the comboxbox? Or should I unsubscribe from the event itself? Or is there another option?
Thanks for any help!
Code: Select all
---- Version: 0.8.4 (Build: Jul 13 2016 Static Debug Microsoft Windows MSVC++ 11.0 32 bit) ----
---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
---- XML Parser module is: CEGUI::RapidXMLParser - Official RapidXML based parser module for CEGUI ----
---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
---- Scripting module is: None ----