[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Toolbar width inconsistency (bad rectangle list?)
Peter Persson wrote:
> The problem is still there. The object width and the width of the =
> rectangle list is not the same.
The right border of the toolbar is overwritten by the window-border wich not intended.
>
> 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.
Wich should always be the case: The toolbar obtains the whole window-width.
> (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.
Maybe the bootlog-entries would help (try to catch the ones that are for your app).
I've changed it again to force the toolbar having the whole width. This was wrong in your version.
Hope we're talking about the same ;-)
I know only one program that uses the AES-toobar-feature (the Atari-toolbar-demo), which I
used to fix toolbars in XaAES. So I think we are free to change things here.
-Helmut