mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
Quote:
I have "resolved" the issue by "defining" that it is frame responsibility to place its widgets correctly. After all, cliping is not for free.
Anyway, this is definitely arguable... I welcome any more hints but maybe you should consider how hard would be to fix your FrameLayout routine...
Fair enough, though this problem is present with every Ctrl-based frame. The usage above is just an exreme case but it possible with a ScrollBar for instance and can be really ugly. This causes problems mainly when you have dynamic layouts (like window docking) where you can't enforce minimum ctrl sizes.
Besides, I don't see how I can implement a visually acceptable solution from FrameLayout since I can only control the size, and scaling it is the wrong approach.
But I can always just apply the fix to my uppsrc, it's cool . I'll have another look to see if a solution is possible without adding a whole extra clip though.