L10n:Dialog sizes: Difference between revisions
Jump to navigation
Jump to search
(List of Firefox Chrome URL) |
No edit summary |
||
| Line 19: | Line 19: | ||
== References == | == References == | ||
* [http://kb.mozillazine.org/Dev_:_Firefox_Chrome_URLs Firefox Chrome URLs] | * [http://kb.mozillazine.org/Dev_:_Firefox_Chrome_URLs Firefox Chrome URLs] (many changed in FF3) | ||
Revision as of 15:30, 9 April 2008
In order to get dialog sizes right in Firefox 2, this page collects information about those dialogs that have specific sizing information in l10n.
Please fill in details about each dialog,
- how to get there (menu names, and positions, assume the tester can't read the script)
chrome://URL for the dialog, what you'd enter in the url bar to show the dialog- source location for the l10n size information
This way, testers can independently of language skills help in finding out if the dialog is properly sized, and if not, use the
javascript:(function(){var p=2;var cs=window.getComputedStyle(document.documentElement,null);var fs=cs.getPropertyCSSValue('font-size').getFloatValue(5);var w=cs.getPropertyCSSValue('width').getFloatValue(5);var h=cs.getPropertyCSSValue('height').getFloatValue(5);prompt('Dialog size:', 'width: '+Math.ceil(w/fs*p)/p+'em; height: '+Math.ceil(h/fs*p)/p+'em;');})();
showsize bookmarklet to figure out a good size and create a patch.
Prefwindow:
- Tools (second to last)
- Options (last)
- chrome url
- chrome://browser/content/preferences/preferences.xul
- l10n source
- browser/chrome/browser/preferences/preferences.dtd
References
- Firefox Chrome URLs (many changed in FF3)