AGENT_STEELMEAT Posted December 27, 2011 Share Posted December 27, 2011 Hey all, I was recently working on a simple login GUI, and noticed what I think is a small bug. When guiSetEnabled(window, false) is used on a gui-window element, the title bar disappears. Is this a CEGUI bug, or an intentional feature? Example: Link to comment
Jaysds1 Posted December 27, 2011 Share Posted December 27, 2011 Can you move the gui still? If you can, then it is a bug, even though it's not meant to work on a window. Link to comment
CapY Posted December 27, 2011 Share Posted December 27, 2011 Can you move the gui still? He's not even talking about MOVING the GUI Window. Link to comment
Jaysds1 Posted December 27, 2011 Share Posted December 27, 2011 I know, if he could move an element when it's not enabled, then it's a but... Link to comment
AGENT_STEELMEAT Posted December 27, 2011 Author Share Posted December 27, 2011 I've tested it with window re-sizing and moving enabled and disabled and the issue still occurs. Link to comment
bandi94 Posted December 27, 2011 Share Posted December 27, 2011 i don't know if is a bug or not but why you don't use guiSetEnabled only for that 2 button's ? don't use it for the window and done whit your problem (if i am right i use guiSetEnabled on a window and teh titel bar don't disapear) Link to comment
AGENT_STEELMEAT Posted December 27, 2011 Author Share Posted December 27, 2011 While that is a workaround, I would rather disable the entire window for many reasons. I might also use guiSetEnabled(window, false) on the window only to hide the title bar since it looks kinda cool anyways, not sure. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now