#420 closed enhancement (fixed)
Attrib table: column content alignment to left, not to right
Reported by: | Owned by: | g_j_m | |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | GUI | Version: | Trunk |
Keywords: | attribute table | Cc: | neteler@…, feurbano@… |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
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
Change History (5)
comment:1 by , 16 years ago
Milestone: | Version 0.8 Release → Version 0.9 Release |
---|---|
Priority: | major → minor |
Type: | defect → enhancement |
comment:2 by , 15 years ago
Awaiting user input: | unset |
---|---|
Owner: | changed from | to
comment:3 by , 15 years ago
Status: | new → assigned |
---|
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A fix is in svn r7794. 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.
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.