Project

General

Profile

Bug #1520

Widgets misaligned in WTreeTable

Added by Стойчо Стефанов Stoycho Stefanov over 9 years ago. Updated over 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/13/2012
Due date:
% Done:

0%

Estimated time:

Description

Widgets of a given column in a WTreeTable become misaligned when some "cell" on the same row in the table is leaved empty (see the picture).


Files

treeTable.png (19.1 KB) treeTable.png screenshot Стойчо Стефанов Stoycho Stefanov, 11/13/2012 03:53 PM
treeTable2.png (91.4 KB) treeTable2.png screenshot Стойчо Стефанов Stoycho Stefanov, 11/13/2012 04:12 PM
#1

Updated by Стойчо Стефанов Stoycho Stefanov over 9 years ago

An empty table "cell" is rendered as

element and its margins are set to null. In opposite, when the table "cell" contains some widget, that widget has non-null margins. Probably that causes the misalignment.

#2

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Feedback

Hey,

I believe it's actually the 'input' widget which has some (default, browser-based) margin ? Trying to stretch a checkbox is, if I recall, problematic anyway --- I would suggest that you wrap it in a WContainerWidget ?

Regards,

koen

Also available in: Atom PDF