forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Read Anything] Set maximum side panel width during resizing.
Current side panel resizing rules: 1. The minimum browser window width is 500 (kMainBrowserContentsMinimumWidth). 2. The minimum side panel width is 320. 3. The side panel can be widened up until it leaves 500 - 320 = 180 in the main web contents. Proposed side panel resizing rules: 1. The minimum window width remains at its current 500. 2. The minimum main web contents width remains at its current 180. 3. At 500px, the side panel is 320 and the main web contents is 180px, as before the proposal. 4. Between window width = 500 to 820, the side panel remains at 320px and the main contents increases in width. 5. At window width > 820, side panel can now be widened. It cannot go wider than a width that would keep the main contents at least at 500. The motivation for this change is that the current behavior, which allows side panel to be resized up to leaving the main web contents at 180, even when the browser window size is very large: https://screenshot.googleplex.com/9Fr9axFE4hfJWFE. For Read Anything we would like to remove this possibility. For more context and alternatives, see https://docs.google.com/document/d/1qfuhKHWrveRc5UQ37KdFGMDvt2JypvyU_4h8ejNfips/edit# Bug: 1329585, 1266555 Change-Id: I166760e168809db6400e12c5c359ef681c7879d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4000980 Reviewed-by: Peter Boström <pbos@chromium.org> Commit-Queue: Abigail Klein <abigailbklein@google.com> Cr-Commit-Position: refs/heads/main@{#1076212}
- Loading branch information
Abigail Klein
authored and
Chromium LUCI CQ
committed
Nov 28, 2022
1 parent
5c3dcef
commit 7fc7a9b
Showing
3 changed files
with
130 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters