Image in combobox?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

gams
Not too shy to talk
Not too shy to talk
Posts: 39
Joined: Sun May 24, 2015 13:23

Re: Image in combobox?

Postby gams » Sat Nov 07, 2015 08:12

Ident, I dont actually need new control/solution because I fixed the issue described in this post by simply using setText for the editfield to set non-tag string, so that the tags wont show up there.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Image in combobox?

Postby Ident » Sat Nov 07, 2015 09:25

Sure but then you can't use images there.
CrazyEddie: "I don't like GUIs"

gams
Not too shy to talk
Not too shy to talk
Posts: 39
Joined: Sun May 24, 2015 13:23

Re: Image in combobox?

Postby gams » Sun Nov 08, 2015 09:00

Ident wrote:Sure but then you can't use images there.


Unfortunately I dont have time to work on new control but at least i have the color and images in the list of items. Only header is missing color.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Image in combobox?

Postby Ident » Sun Nov 08, 2015 10:42

If anyone ever looks for this again: All that needs to be done is writing a new core class replacing the dropdownlist "header" with a statictext or similar, analogous to how the Combobox already works. It would basically be a Combobox without Editbox but something else instead, all other windows afaik are able to receive FormattingTags.

Added issue ticket: https://bitbucket.org/cegui/cegui/issue ... box-with-a
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 25 guests