On 2/22/11 8:49 AM, Jacek Kałucki wrote: > Hi. > > I noticed that when I shrink parent control, it shrinks only > until dLabel caption length is reached. > From this moment, parent scrollbar appears and dLabel doesn't > shrink anymore even if WordWrap is set to True. > When I grow parent control, wrapped dLabel caption behaves > properly. > I think that problem is the Width property, cause it can't get > narrower than actual caption width. > It happens on Windows platform.
It is an early design decision: when .Width is set, we call SetMinWidth() also. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
