Chromium Code Reviews| Index: ui/keyboard/resources/constants.js |
| diff --git a/ui/keyboard/resources/constants.js b/ui/keyboard/resources/constants.js |
| index 50353d63abfae38bfebe09ae1d7b759f14c20775..0369c9a73ab2f8a43d772da8319663d3f97b5f8b 100644 |
| --- a/ui/keyboard/resources/constants.js |
| +++ b/ui/keyboard/resources/constants.js |
| @@ -6,20 +6,22 @@ |
| * Aspect ratio of keyboard. |
| * @type {number} |
| */ |
| -var ASPECT_RATIO = 4.5; |
| +var ASPECT_RATIO = 3.5; |
|
kevers
2014/02/03 19:01:00
Have you checked how these tweaked constants look
rsadam
2014/02/03 19:36:21
Done!
|
| var RowAlignment = { |
| STRETCH: "stretch", |
| LEFT: "left", |
| RIGHT: "right", |
| - CENTER: "center" |
| + CENTER: "center", |
| + // Assigns all extra weight to the right most key. TODO(rsadam): remove. |
| + STRETCHRIGHT: "stretchright" |
| } |
| /** |
| * Ratio of key height and font size. |
| * @type {number} |
| */ |
| -var FONT_SIZE_RATIO = 3; |
| +var FONT_SIZE_RATIO = 2.5; |
| /** |
| * @type {enum} |
| @@ -61,7 +63,7 @@ var DEFAULT_KEY_WEIGHT_X = 100; |
| * The default weight of a key in the Y direction. |
| * @type {number} |
| */ |
| -var DEFAULT_KEY_WEIGHT_Y = 100; |
| +var DEFAULT_KEY_WEIGHT_Y = 70; |
| /** |
| * The top padding on each key. |