elofgren: USABILITY: Increase height of ImageField? iframe to make room for padding around fieldset. Also increase width of 'Replace Image' block to make the image drop-down fit. This change goes with r37020

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41792 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-14 19:20:43 +00:00
parent c6dc670cff
commit 568489ede7
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class ImageField extends FileField {
$parentClass = $data->class;
$parentField = $this->name;
$iframe = "<iframe name=\"{$this->name}_iframe\" src=\"images/iframe/$parentClass/$parentID/$parentField\" style=\"height: 132px; width: 600px; border-style: none;\"></iframe>";
$iframe = "<iframe name=\"{$this->name}_iframe\" src=\"images/iframe/$parentClass/$parentID/$parentField\" style=\"height: 152px; width: 600px; border-style: none;\"></iframe>";
return $iframe . $hiddenField;
} else {

View File

@ -12,7 +12,7 @@
</div>
<% end_if %>
<div class="mainblock" style="width: 240px;">
<div class="mainblock" style="width: 290px;">
<% if UseSimpleForm %>
$EditImageSimpleForm
<% else %>