Project

General

Profile

Actions

Bug #3295

closed

WTableView::setHeaderHeight() doesn't work with Units other than pixesl

Added by Vincenzo Romano over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/11/2014
Due date:
% Done:

0%

Estimated time:

Description

If I call WTableView::setHeaderHeight( 3,WLength::FontEm ) I get a header 3 pixels high.

If I call WTableView::setHeaderHeight( "3em" ) I get a heade 3em high.

The scrrnshot shows also the computed height of the header element: 3px.


Files

shot-0267.png (87.4 KB) shot-0267.png Header element highlighted along with its height Vincenzo Romano, 06/11/2014 01:57 PM
Actions #1

Updated by Koen Deforche about 10 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey,

Because of the computations involved in WTableView to position data, we only support pixel-based row heights. I've clarified the documentation.

Regards,

koen

Actions #2

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF