Fix Mac Task Manager issues.
This reverts commit bb269b0e and attempts to solve the original issue in a different manner. That commit attempted to solve the problem of column header labels being cut off (https://crbug.com/1109129) by not setting a maximum column width. That caused the issue of, when the window is re-opened, that all the columns split the width of the table view. That means that, for a large window, lots of space is wasted on columns with small-width data, and no space is left for the "Task" column. That commit also switched the autoresize style to "sequential". That was meant to ensure that the "Task" column got the extra space when the window was resized, but in fact it forces the *last* column to get the extra space. I suppose "reverse sequential" was intended, but reverting things is easier. This CL fixes the problem by adjusting the maximum size to be at least as large as the labels. Bug: 1109129, 1134831 Change-Id: I4452fa2256ec05ce6cca9fbe1fee38df79eddbab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2447099 Commit-Queue: Avi Drissman <avi@chromium.org> Reviewed-by:Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#813803}
Showing
Please register or sign in to comment