diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/documentation.html b/modules/xerte/parent_templates/Nottingham/models_html5/documentation.html index cc8bc9824e..384ef341ee 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/documentation.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/documentation.html @@ -227,7 +227,10 @@ case 'textbox': $element = $('') .attr('type', 'text') - .attr('value', ''); + .attr('value', ''); console.log(xml); + if (xml.getAttribute('width') && xml.getAttribute('width') != '') + $element.width(parseInt(xml.getAttribute('width'))); + (function (p, s, i) { $element.on('change', function () { documentation.updateData(p, s, i, $(this).val()); diff --git a/modules/xerte/parent_templates/Nottingham/wizards/en-GB/data.xwd b/modules/xerte/parent_templates/Nottingham/wizards/en-GB/data.xwd index 0ec21aebbd..64c668f5cb 100644 --- a/modules/xerte/parent_templates/Nottingham/wizards/en-GB/data.xwd +++ b/modules/xerte/parent_templates/Nottingham/wizards/en-GB/data.xwd @@ -695,7 +695,7 @@ - +
diff --git a/src/Nottingham/wizards/en-GB/documentation.xwd b/src/Nottingham/wizards/en-GB/documentation.xwd index 06890ee409..74f8e5d5d6 100644 --- a/src/Nottingham/wizards/en-GB/documentation.xwd +++ b/src/Nottingham/wizards/en-GB/documentation.xwd @@ -73,7 +73,7 @@ - +
@@ -125,7 +125,7 @@ - + \ No newline at end of file diff --git a/src/Nottingham/wizards/en-GB/template.xwd b/src/Nottingham/wizards/en-GB/template.xwd index 0ec21aebbd..64c668f5cb 100644 --- a/src/Nottingham/wizards/en-GB/template.xwd +++ b/src/Nottingham/wizards/en-GB/template.xwd @@ -695,7 +695,7 @@ - +