Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
4d2c8469
Commit
4d2c8469
authored
Jul 11, 2017
by
Stefan Tauner
Browse files
Make modal dialogs non-resizable
parent
c0084d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/Tk/FIJIModalDialog.pm
View file @
4d2c8469
...
...
@@ -101,11 +101,20 @@ sub Populate {
}
$t
->
configure
(
-
state
=>
'
disabled
');
}
elsif
(
defined
$text
)
{
my
$lbl
=
$self
->
add
('
Label
',
-
text
=>
$text
,
-
justify
=>
'
left
',
)
->
pack
(
-
side
=>
'
right
');
my
$lbl
=
$self
->
add
('
Label
',
-
text
=>
$text
,
-
justify
=>
'
left
',
)
->
pack
(
-
side
=>
'
right
',
-
fill
=>
'
both
',
-
expand
=>
1
);
$lbl
->
configure
(
-
wraplength
=>
$wraplength
)
if
(
defined
$wraplength
);
}
else
{
$logger
->
debug
("
Neither text nor markuptext given for modal dialog
");
}
$self
->
resizable
(
0
,
0
);
# Fix window's size
}
...
...
Write
Preview
Supports
Markdown
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