projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman.Gnumeric.js
[Pman.Core]
/
Pman.Dialog.Image.js
diff --git
a/Pman.Dialog.Image.js
b/Pman.Dialog.Image.js
index
fc046e5
..
50a667b
100644
(file)
--- a/
Pman.Dialog.Image.js
+++ b/
Pman.Dialog.Image.js
@@
-197,6
+197,7
@@
Pman.Dialog.Image = {
items : [
{
xtype : 'ContentPanel',
items : [
{
xtype : 'ContentPanel',
+ fitContainer : true,
fitToFrame : true,
region : 'center',
xns : Roo,
fitToFrame : true,
region : 'center',
xns : Roo,
@@
-222,8
+223,11
@@
Pman.Dialog.Image = {
_this.form.findField('imgtype').hide();
_this.form.findField('imgtype').hide();
+ _this.dialog.resizeTo(500, 140);
+
if(_this.data._show_image_type){
_this.form.findField('imgtype').show();
if(_this.data._show_image_type){
_this.form.findField('imgtype').show();
+ _this.dialog.resizeTo(500, 170);
}
this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php';
}
this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php';