[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Toolbar width inconsistency (bad rectangle list?)



Peter Persson wrote:

> Found another potential issue with toolbars, which seems to have been =
> introduced in 0.999. Previously, the width of the toolbar didn't include =
> the width of the sizer + vertical scroll bar, i.e. the toolbar basically =
> had the same width as the work area.
>
> This has changed. The AES now specifies a width which includes the sizer =
> + vertical scrollbar (this is the width that the AES puts in the toolbar =
> root object). However, the rectangle list for the toolbar is still based =
> on the old implementation.
>
> An example:
> The AES specifies the toolbar object size to: 300,20.
> The rectangle list only specifies: 278,20.
>
> I can't say exactly where/what this problem is, but something has =
> clearly changed related to the toolbar width (I haven't seen this =
> behavior on 0.998). And it affects my current project.

I changed a lot on toolbars, but it's quite long ago, cannot remember
exactly. The width is the width of the window, because the sliders do
not intersect with the toolbar. Maybe the rect-list has to be corrected accordingly.

-Helmut