Bug 144489 TVT3.2:TCT781: pl: List is too narrow
OS : RHEL 3.1 Must fix or not a must fix: NO Build date: 0529 Component name: BIRT Blocking: NO Language: pl Bitmap Location: V:\defects\pl\.20.002210.jpg Tester Name: Marek Gaskiewicz Steps to recreate the problem: Click Window->Open Perspective->Other->Report Design Right click anywhere on the report design Select Style->New Style context menu Select Font Problem Description: The size list is too narrow. This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FontPreferencePage.java
* @return String[][]: The choice array of the key, which contains he names
	 *         (labels) and underlying values, will be arranged as: { {name1,
	 *         value1}, {name2, value2}, ...}
	 */
	private String[][] getChoiceArray(String key) {
		return getChoiceArray(key, null);
	}
	/**
	 * Gets choice array of the given property name ( key ).
	 * 
	 * @param key
	 *            The given property name.
	 * @return String[][]: The choice array of the key, which contains he names
	 *         (labels) and underlying values, will be arranged as: { {name1,
	 *         value1}, {name2, value2}, ...}
	 */
	private String[][] getChoiceArray(String key, Comparator comparator) {
		IChoice[] choices = DesignEngine.getMetaDataDictionary().getChoiceSet(
				key).getChoices(comparator);
		String[][] names = null;
		if (choices.length > 0) {
			names = new String[choices.length][2];
			for (int i = 0; i < choices.length; i++) {
				names[i][0] = choices[i].getDisplayName();
				names[i][1] = choices[i].getName();
			}
		}
		return names;
	}
}