Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » CtrlPaint Bug: Frame draws outside of Ctrl
Re: CtrlPaint Bug: Frame draws outside of Ctrl [message #15253 is a reply to message #15243] Fri, 11 April 2008 19:48 Go to previous messageGo to previous message
mrjt is currently offline  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 Smile. I'll have another look to see if a solution is possible without adding a whole extra clip though.

Cheers,
James
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New member needs help
Next Topic: StreamRasterEncoder puzzle
Goto Forum:
  


Current Time: Thu Aug 28 03:53:05 CEST 2025

Total time taken to generate the page: 0.11342 seconds