Feature request #420

Attrib table: column content alignment to left, not to right

Added by neteler-itc-it - almost 14 years ago. Updated about 11 years ago.

Status:Closed
Priority:Low
Assignee:Gavin Macaulay -
Category:GUI
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:10479

Description

Hi,

in case of attribute table field contents, which are too long to fit into the visible part of the field, currently the end of the string (number) is shown. It would be nice to show the beginning instead. Example:

Currently (here the central column number is rather hidden):

|bla|000000000|blub|

Wish (here it looks better):

|bla|50.000000|blub|

Would be nice to get that fixed.

Thanks,
Markus

History

#1 Updated by Martin Dobias almost 14 years ago

I couldn't find any way how to change this behaviour easily. It's possible to use custom cell drawing but that involves quite some work.

In next version we should port attribute table from current Qt3 compatibility class Q3Table to new Qt4 model-view framework. This might be a part of the redesign so I'm shifting this to 0.9 release.

#2 Updated by Gavin Macaulay - almost 13 years ago

  • Status changed from Open to In Progress

#3 Updated by Gavin Macaulay - almost 13 years ago

  • Resolution set to fixed
  • Status changed from In Progress to Closed

A fix is in svn 3d951b6e (SVN r7795). Note that I haven't made the cells left justified as this can then upset the alignment of numbers or text in successive rows. Rather, I have set the table to automatically expand the column widths to show all data in that column and left the contents as right justified.

#4 Updated by Anonymous about 11 years ago

Milestone Version 0.9.2 deleted

Also available in: Atom PDF