Skip to content
GitLab
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
ab04af7b
Commit
ab04af7b
authored
Jul 11, 2017
by
Stefan Tauner
Browse files
Make modal dialogs non-resizable
parent
05463b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/Tk/FIJIModalDialog.pm
View file @
ab04af7b
...
...
@@ -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
.
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