Commit 47a287f1 authored by helene ortiz's avatar helene ortiz
Browse files

improve filechooser L&F

parent 493e5c7b
......@@ -30,6 +30,7 @@ import fr.ill.ics.core.property.Property;
public abstract class FileChooser extends PWidget {
public static final int DISPLAY_LENGTH = 40;
protected static final int BUTTON_SIDE = 28;
protected final static String CHOOSER_LABEL = "...";
protected WidgetDescriptor widgetDescriptor;
......
......@@ -75,6 +75,7 @@ public class SWTFileChooser extends FileChooser {
updateVerifyListener(property);
fileText.setToolTipText(property.getName() + " " + property.getContainerID());
}
button.setLayoutData(SWTWidgetFactory.getInstance().getImageGridData(BUTTON_SIDE, BUTTON_SIDE, true));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment