Project

General

Profile

Actions

Bug #44509

closed

flash uploader: fixed button size in CSS

Added by Martin Kästner almost 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2013-01-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi there,

the problem is that the size of the button "Select Files" (in german translation "Dateien auswählen") is fixed in CSS. So if the translated text is longer not the complete button is clickable. See Attached image for german translation.

In CSS there is width:90px. That is not enough for german translation. Is must be 135px. Sure, it should be flexible or dependet of the translated text.
I did not know how this could be achieved.

bye
Martin


Files

bug-flashuploader.png (14.7 KB) bug-flashuploader.png German translation, blue area is clickable 90px Martin Kästner, 2013-01-14 13:41
Actions #1

Updated by Felix Kopp over 11 years ago

I can confirm this.
Do you have a flexible solution?

Actions #2

Updated by Martin Kästner over 11 years ago

Hi, as I see in 4.7.7, there is a width-attribute already in the object-Tag:

<object id="SWFUpload_0" class="swfupload" width="128" height="22" data="/typo3/contrib/swfupload/swfupload.swf?preventswfcaching=1361970949388" type="application/x-shockwave-flash">

So, perhaps the width in CSS:

.swfupload {
width: 90px;
}

isn't needed.

When using only the object-width of "128" there is only a small part of the last character "n" which is not clickable. Perhaps this value is calcutated? Or is already "translated", it is only 84 in english version. A few pixels more and it would be perfect.

Hope that helps.

by
Martin

Actions #3

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Closed
  • Is Regression set to No

Flashuploader is not in use anymore in supported versions of TYPO3 CMS. 4.5 is in security and real urgent fixes mode.
Therefore I close this issue

Actions

Also available in: Atom PDF