#14458: BWindow::Zoom gives inconsistent results
----------------------------------------+------------------------------
Reporter: jalopeura | Owner: nobody
Type: bug | Status: new
Priority: low | Milestone: R1/beta1
Component: Kits/Interface Kit | Version: R1/Development
Keywords: BWindow SetZoomLimits Zoom | Blocked By:
Blocking: | Has a Patch: 1
Platform: All |
----------------------------------------+------------------------------
When the bounds defined by (SetZoomLimits) is smaller than the rectangle
described by "(screen size - deskbar area) UNION size limits", then the
window is centered within that rectangle. This centering involves dividing
the difference by two and rounding the result, which can cause the
resulting zoom rectangle to be one pixel short in one or both dimensions.
--
Ticket URL: <https://dev.haiku-os.org/ticket/14458>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.