PDA

View Full Version : Reduce a table view's cell padding or margin



Petruza
19th June 2010, 16:47
I'm using a Table View.
I'd like to remove the cell padding (or margin) so I can squeeze more cells on less space. How can this be achieved?
The cells size is set to 32 pixels on QT designer, if I set it smaller, the cells contents don't show and an ellipsis appears. (...)

http://img692.imageshack.us/img692/3484/tableviewpng.png

Petruza
24th June 2010, 19:01
Does anybody at least have a clue? or can point me to what you suspect it may be related to? some class, or property, or something?

ChrisW67
25th June 2010, 04:58
Is there a leading space on the text you are putting in the cells? I can set small example to 24 pixels and the two hex digits are visible and nicely centred.

yyiu002
25th June 2010, 05:21
Have you tried to use stylesheet?