[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Toolbar width inconsistency (bad rectangle list?)
17 dec 2010 kl. 13.31 skrev Helmut Karlowski:
>> I tried again, but it's still the same binary I think (still 483875 =
>> bytes, still the same behavior).
>
> Maybe you have to flush the browser-cache. I downloaded it and it has 484646 bytes.
Oops, my bad. Wget always works, fortunately.
The problem is still there. The object width and the width of the rectangle list is not the same.
I noticed a difference depending on how I redraw the toolbar:
- If I redraw using wind_set() method (re-attaching the toolbar; according to some docs this is the right way to do it in XaAES).
(in this case, the clipping mask sent to custom objects (PARMBLK) seems to be based on the work area width)
- If I redraw using the legacy method (traversing the rectangle list), the sizer-bar on the right will be overdrawn by the resource.
(in this case, the clipping mask sent to custom objects (PARMBLK) seems to be based on the full window width)
So:
- If SIZER only: Width of resource must be shrunk to fit the work area width OR the sizer bar must be moved down (like the case with SIZER | VSLIDE).
- If SIZER | VSLIDE : It's ok. It works as intended already.
-- PeP