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
487a1235
Commit
487a1235
authored
Jan 11, 2022
by
helene ortiz
Browse files
increase window width
parent
4bae40f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/client/view/logger/swt/SWTLoggerWindow.java
View file @
487a1235
...
...
@@ -133,6 +133,7 @@ public class SWTLoggerWindow extends LoggerWindow {
GridData
userNameTextGridData
=
(
GridData
)
userNameText
.
getText
().
getLayoutData
();
userNameText
.
setFont
(
SWTFontFactory
.
getTitleFont
());
userNameTextGridData
.
exclude
=
true
;
userNameText
.
getText
().
setVisible
(
false
);
userCombo
.
addSelectionListener
(
new
SelectionAdapter
()
{
@Override
...
...
@@ -189,7 +190,7 @@ public class SWTLoggerWindow extends LoggerWindow {
@Override
public
final
void
open
()
{
if
(
init
())
{
shell
.
setSize
(
8
0
0
,
425
);
shell
.
setSize
(
8
5
0
,
425
);
shell
.
setLocation
(
GraphicalUtilities
.
getInstance
().
getCenterX
(
parentShell
.
getBounds
().
x
,
parentShell
.
getBounds
().
width
)
-
shell
.
getBounds
().
width
/
2
,
GraphicalUtilities
.
getInstance
().
getCenterY
(
parentShell
.
getBounds
().
y
,
parentShell
.
getBounds
().
height
)
-
shell
.
getBounds
().
height
/
2
);
shell
.
open
();
userNameText
.
setFocus
();
...
...
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