How To Change Font Size In Google Chrome Address Bar
how to change font size in google chrome address bar I want to change the size of address bar in Chrome programmatically..where there is any way to do it? I want t change it as it's too big for me..
If you build your own version of Chrome, you can change the look and feel of the browser, but you'll have to write different code for each platform you want to support.
If you don't want to build your own version of Chrome, then on Windows, you can inject yourself into the Chrome process with SetWindowsHook or SetWindowsHookEx, find the window handle corresponding to the address bar, and then do anything you want to it. Similar idea on OSX. Not sure about Linux. This isn't a recommended approach; it's invasive and subject to breakage.
As far as a Chrome API for an extension or app to change the address bar size, nope, can't do that.
I think Microsoft must have made the titlebars larger to make them more easily draggable when using a touch interface, but they just use unnecessary vertical space on a normal desktop or laptop computer, especially if it has a low resolution screen. I also think it looks nicer when it is reduced in size a little.
The following registry .reg file will make the titlebar thinner, the titlebar text smaller, scroll bars thinner and the border padding as thin as possible.
This also works on Windows 10, but it does not affect WindowsRT/Metro/Modern/UWP/Whatever apps.
Windows Registry Editor Version 5.00
You need to log out and back in again to see the changes.
Solution
Generally, the font size of the address bar is determined by your OS's default font size. Read comments here: https://code.google.com/p/chromium/issues/detail?id=46472. So if you want to adjust it, change your OS default.If you build your own version of Chrome, you can change the look and feel of the browser, but you'll have to write different code for each platform you want to support.
If you don't want to build your own version of Chrome, then on Windows, you can inject yourself into the Chrome process with SetWindowsHook or SetWindowsHookEx, find the window handle corresponding to the address bar, and then do anything you want to it. Similar idea on OSX. Not sure about Linux. This isn't a recommended approach; it's invasive and subject to breakage.
As far as a Chrome API for an extension or app to change the address bar size, nope, can't do that.
Solution 2
I think Microsoft must have made the titlebars larger to make them more easily draggable when using a touch interface, but they just use unnecessary vertical space on a normal desktop or laptop computer, especially if it has a low resolution screen. I also think it looks nicer when it is reduced in size a little.
The following registry .reg file will make the titlebar thinner, the titlebar text smaller, scroll bars thinner and the border padding as thin as possible.
This also works on Windows 10, but it does not affect WindowsRT/Metro/Modern/UWP/Whatever apps.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]Remember to export the WindowMetrics key before you start modifying it, just in case you need to revert to the defaults after having messed something up.
"CaptionHeight"="-285"
"CaptionWidth"="-285"
"CaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ScrollWidth"="-240"
"ScrollHeight"="-240"
"PaddedBorderWidth"="0"
You need to log out and back in again to see the changes.
0 comments:
Post a Comment