change dimension of signature field

develop
Andreas Osim 2021-07-07 14:02:21 +02:00
parent 4459616c0e
commit 5cbac414a1
1 changed files with 8 additions and 8 deletions

View File

@ -28,8 +28,8 @@ odoo.define('web_digital_sign.web_digital_sign', function(require) {
'decor-color': '#D1D0CE',
'color': '#000',
'background-color': '#fff',
'height': '150',
'width': '550'
'height': '200',
'width': '500'
};
this.empty_sign = [];
},
@ -51,8 +51,8 @@ odoo.define('web_digital_sign.web_digital_sign', function(require) {
'decor-color': '#D1D0CE',
'color': '#000',
'background-color': '#fff',
'height': '150',
'width': '550',
'height': '200',
'width': '500',
'clear': true
};
this.$(".signature").jSignature(sign_options);
@ -122,8 +122,8 @@ odoo.define('web_digital_sign.web_digital_sign', function(require) {
'decor-color': '#D1D0CE',
'color': '#000',
'background-color': '#fff',
'height': '150',
'width': '550'
'height': '200',
'width': '500'
};
this.$(".signature").jSignature("init", sign_options);
}
@ -135,8 +135,8 @@ odoo.define('web_digital_sign.web_digital_sign', function(require) {
'decor-color': '#D1D0CE',
'color': '#000',
'background-color': '#fff',
'height': '150',
'width': '550'
'height': '200',
'width': '500'
});
}
}