Changes between Initial Version and Version 1 of Ticket #8665, comment 18


Ignore:
Timestamp:
Jul 1, 2012, 3:13:59 PM (11 years ago)
Author:
anevilyak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8665, comment 18

    initial v1  
    33
    44That's not necessarily sufficient, the window might need to resize some internal elements (i.e. column widths in a column list view) in order to be able to reach its ideal size, which scrollbar constraints alone wouldn't tell you.
     5
     6Edit: Furthermore, in, for instance, a Window using split views, a single scroll view alone wouldn't be sufficient information. I don't think there's really a good way to do a shared implementation of this since there are simply too many corner cases that require a) extensive knowledge of the window's UI elements, and b) knowledge of the fact that a zoom is specifically what's being asked for, rather than any other type of window resize, otherwise you'll invoke inadvertent side effects like breaking a user's adjustments to their window splits or whatnot.