Commit 18ac0c41 authored by haemmer's avatar haemmer
Browse files

Set text element height to image height

parent bc743140
......@@ -130,7 +130,7 @@ function getTextElement(sourceElement, imgElement) {
newTextElement.attr('id', newID + idd_text_suffix)
.attr('value', sourceElement.find('option:selected').text())
.css('height', sourceElement.outerHeight() + 'px')
.css('height', imgElement.outerHeight() + 'px')
.css('font-family', sourceElement.css('font-family'))
.css('font-size', sourceElement.css('font-size'))
.css('border-width', '1px')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment