Quote Originally Posted by ZorbaTHut View Post
Quote Originally Posted by Imhothar View Post
It looks like RiftWindow somehow uses the aspect ratio of the window to resize the title header. This leads to the title text appearing outside the animated area: screenshot I use SetWidth() and SetHeight() on the window (not border or content) to resize it according to the number of items in it or when the user resizes it manually. The only point set on the window is TOPLEFT to UIParent. The values returned from GetTrimDimensions() stay constant.
There's a minimum dimension below which the RiftWindow won't look correct. I'm not sure what it is offhand, unfortunately, but it shoulld be easy to detect by animating the size up and down and watching for the point where the title bar starts squishing. This is an artifact of how Rift windows are built - you'll notice none of our dialogs are below that limit either, nor can they be resized to be that small
Jump to post...