L10n:Dialog sizes
Jump to navigation
Jump to search
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