Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadGUI
Commits
47a287f1
Commit
47a287f1
authored
Jan 17, 2022
by
helene ortiz
Browse files
improve filechooser L&F
parent
493e5c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/client/view/widget/FileChooser.java
View file @
47a287f1
...
...
@@ -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
;
...
...
src/main/java/fr/ill/ics/client/view/widget/swt/SWTFileChooser.java
View file @
47a287f1
...
...
@@ -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
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment