Project

General

Profile

Actions

Bug #16049

closed

wrong column-width with noRows-Option

Added by old_heldenschreck over 18 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2006-04-13
Due date:
% Done:

0%

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

Description

The colums in a multiple-column imageelement are shifted when the noRows-Option is active and the pictures are centered, because the width of the outer wrapper-div is smaller than the sum of the column-widths.

For example:
an Image-Element width 3 columns, width 180, noRows, centered, 10px margin, 1px-Border.

The outter wrapper-width ist correct: 566 = 180x3 +20 + 6
The colum-wrapper is wrong: 204
204*3 > 566 => last column is shifted below.
The Image-width is correct: 180px

The column-widths are wrong calculated too, when the userdefined image-width is smaller than the max possible column-width. The column-widths are based on the max-possible column-width and not on the maximal width of the calculated images.

This doesnt happen in 3.9beta and occurs in 4.0.

(issue imported from #M3258)


Files

bug-3258.diff (1012 Bytes) bug-3258.diff Administrator Admin, 2006-05-21 13:16
bug-3258_a.diff (2.03 KB) bug-3258_a.diff Administrator Admin, 2006-05-30 11:50
Actions #1

Updated by Ernesto Baschny about 18 years ago

@helden:

could you please test the patch that is attached to your bug report to see if this solves the problem? Patch should apply to 4.0.

If you give me a positive feedback, I'll discuss the change with the core-team.

Thanks!

Actions #2

Updated by Administrator Admin about 18 years ago

@Ernesto:

Your patch solved only the first problem, that helden described. I propose a patch bug-3258_a.diff, that seems to solve both problems at once.

Stefan

Actions #3

Updated by Ernesto Baschny about 18 years ago

Submitted to core for discussion

Actions #4

Updated by Ernesto Baschny about 18 years ago

Fixed in 4.0.1.

Commited to CVS (trunk and TYPO3-4_0)

Actions

Also available in: Atom PDF