Tweak: Gmail and Reader Integrator
Editing the Sizes of the Split-Windows
Suppose you wish to edit the sizes of the split-windows for Gmail and Reader Integrator, this is possible and easy to accomplish. Follow these steps to customize the Gmail or Reader window sizes to your preference:
- In Firefox, open Tools > Greasemonkey > Manage..
- Click on “Gmail + Reader Integrator” in the left panel
- Click “Edit” button
- Choose a text editor, preferably with “Lines Number” display
- Go to Line 54 and 55
- Edit the sizes (in px)
Quick Tip 1:
In a 1280 x 1024 resolution, the height of an email row in Inbox is approximately 22px. Therefore, the default for “GMAIL_SPLIT_HEIGHT” is set as 220px which displays about 10 email rows in split-window view.
Editing the Size of the Reader Window (Gmail Collapsed )
By default, on collapsing the Gmail window while the Reader is open, the Reader would be resized to fill the height of a screen. Suppose you wish to further extend the height of the Reader when the Gmail window is collapsed, do the following:
- Search for function resizeReaderFrame, or Line 665
- Change “window.innerHeight - readerEmbed.offsetTop” to a large value
Quick Tip 2:
You can open|close the Reader window by clicking on the Reader link in the LHS navi. That link is like a “toggle” for the visibility of the Reader window.
Feel free to drop me a message regarding other preferred customizations?
Lastly, the response towards the script has been overwhelming. Thank you!
winston.yongwei