-
Kuo Jen Wei authored
The calculation of default window size is based on fixing width to 764px in all preview aspect ratio cases(3:4, 4:3, 9:16, 16:9) and deriving height from that fixed width so that after preserve space for left, right, bottom icons(--xxx-line*2), the |#preview-box| can fit in preview aspect ratio as close as possible. After these, the new default window size under different preview aspect ratio will be: 3:4 -> 764x888; 4:3 -> 764x552; 9:16 -> 764x1144; 16:9 -> 764x444. Also change the minimal window width x height to 486 x 444 accordingly. Bug: b/175324385 Test: Manually verify default window size under 3:4, 4:3, 9:16, 16:9 preview. Change-Id: Ic4c569819f29b813029f478e6920f66453ab4792 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615730Reviewed-by:
Shik Chen <shik@chromium.org> Commit-Queue: Inker Kuo <inker@chromium.org> Auto-Submit: Inker Kuo <inker@chromium.org> Cr-Commit-Position: refs/heads/master@{#843399}
6e03dcb5