Actions
Bug #1257
closedcan not place elements of grid layout back to back
Start date:
04/25/2012
Due date:
% Done:
0%
Estimated time:
Description
Hello!
There are 4 images in WGridLayout (2x2). Each image is 256x256, container is 512x512. Images in the layout seem to be shifted in the vertical direction. White gap occurs in HTML version, while images overlap in JavaScript version (see screen shots).
Expected image is also attached.
In HTML version, computed height of
, which is parent of , is 260 instead of 256. Setting it to 256 in Firebug, I get expected image
This bug was initially discovered by Ramil Mintaev (ramil.mintaev@gmail.com).
Files
Updated by Boris Nagaev over 12 years ago
If I resize WContainerWidget, holding WImage:
cw->resize(256, 256);
this solves the problem for HTML version, but not for JavaScript version.
Updated by Koen Deforche over 12 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.2.2
This is probably solved with the new layout implementation
Updated by Koen Deforche over 12 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche over 12 years ago
- Status changed from Resolved to Closed
Released in Wt 3.2.2
Actions