Hi
i want to know that is it possible that the size of a child window is not dependent on the size of its parent window.
wat i want achieve is that wen a parent window(eg a frame window) is resized thru mouse, its child windows(eg a button) may not get resized but rather they maintain their size & may be clipped by the parent window.
thanx & regards
parent & child window size relationship
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: parent & child window size relationship
Yes, use absolute co-ords, or unified co-ords which only have an absolute component. Its the relative co-ords that cause child windows to be sized in relation to thier parent.
See: Window::setMetricsMode for how to change between the modes. Or info on UDim metrics if you're using the new 0.4.0 release.
See: Window::setMetricsMode for how to change between the modes. Or info on UDim metrics if you're using the new 0.4.0 release.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 9 guests