Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19072/src/org/jcommander/ui/filepanel/controls
Modified Files:
FileTab.java
Log Message:
Reorganized the bookmark panel's "Go to parent" button
Index: FileTab.java
===================================================================
RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls/FileTab.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** FileTab.java 25 Apr 2006 09:27:57 -0000 1.41
--- FileTab.java 15 May 2006 13:34:52 -0000 1.42
***************
*** 20,23 ****
--- 20,24 ----
import org.jcommander.ui.filepanel.bookmarks.*;
import org.jcommander.ui.utils.*;
+ import org.eclipse.swt.layout.GridLayout;
/**
* This is the component that represents a file panels tab.
***************
*** 88,91 ****
--- 89,102 ----
*/
private void createBookmarkPanelsComposite() {
+ GridLayout gridLayout2 = new GridLayout();
+ gridLayout2.horizontalSpacing = 1;
+ gridLayout2.marginWidth = 1;
+ gridLayout2.verticalSpacing = 1;
+ gridLayout2.marginHeight = 1;
+ GridLayout gridLayout = new GridLayout();
+ gridLayout.horizontalSpacing = 1;
+ gridLayout.marginWidth = 1;
+ gridLayout.verticalSpacing = 1;
+ gridLayout.marginHeight = 1;
GridData gridData4 = new GridData();
GridData gridData3 = new GridData();
***************
*** 107,113 ****
--- 118,126 ----
gridData3.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
leftBookmarkPanel.setLayoutData(gridData3);
+ leftBookmarkPanel.setLayout(gridLayout);
gridData4.grabExcessHorizontalSpace = true;
gridData4.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
rightBookmarkPanel.setLayoutData(gridData4);
+ rightBookmarkPanel.setLayout(gridLayout2);
// fill drive panels
|