Bug 221957 Huge Cursor in huge Text control
Build ID: M20070921-1145 Steps To Reproduce: 1. Run CustomControlExample on linux gtk 2. CTabFolderTab 3. Horizontal/Vertical Fill yes 4. click on the CTabItems text "CTabItem Content: 0", see the huge Cursor (three letters width) More information: I think the Cursors size should be depending on the used Font. But here it seems to depend on the lines height? Interesting is also, if you play with the controls size, 10x10 make a real mini cursor. I use Ubuntu 7.10, GTK 2.12
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
int lastSelectedTab = 0;
	
	
	CTabFolder tabFolder1;
	Group tabFolderGroup, itemGroup;
	
	
	Button topButton, bottomButton, flatButton, closeButton;
	static String [] CTabItems1 = {ControlExample.getResourceString("CTabItem1_0"),
								  ControlExample.getResourceString("CTabItem1_1"),
								  ControlExample.getResourceString("CTabItem1_2")};
	
	static final int SELECTION_FOREGROUND_COLOR = 3;
	static final int SELECTION_BACKGROUND_COLOR = 4;
	static final int ITEM_FONT = 5;
	Color selectionForegroundColor, selectionBackgroundColor;
	Font itemFont;
	
	
	Button simpleTabButton, singleTabButton, imageButton, showMinButton, showMaxButton, unselectedCloseButton, unselectedImageButton;
	/**
	 * Creates the Tab within a given instance of ControlExample.
	 */
	CTabFolderTab(ControlExample instance) {
		super(instance);
	}