Window sizes
Posted: Tue Dec 12, 2006 16:47
I want to allow adding GUI widgets to a window by code, and I don't want it to take a lot of effort. So, I've written a simple wrapper called class: Label. It does exactly what you would expect, display a label
The problem is, I can't figure out how wide the label has to be. I don't want it to be 1.0f in width, as then even the height may not be enough. Is there an auto-resize function that I've missed? I've been looking around but the API docs are incredibly slow and flying blind didn't help either.
(for the record, I'm still using CEGUI 0.4.1)

The problem is, I can't figure out how wide the label has to be. I don't want it to be 1.0f in width, as then even the height may not be enough. Is there an auto-resize function that I've missed? I've been looking around but the API docs are incredibly slow and flying blind didn't help either.
(for the record, I'm still using CEGUI 0.4.1)