Opened 16 years ago

Closed 15 years ago

Last modified 14 years ago

#420 closed enhancement (fixed)

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

Reported by: neteler@… 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



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):


Wish (here it looks better):


Would be nice to get that fixed.

Thanks, Markus

Change History (5)

comment:1 by wonder, 16 years ago

Milestone: Version 0.8 ReleaseVersion 0.9 Release
Priority: majorminor
Type: defectenhancement

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.

comment:2 by g_j_m, 15 years ago

Awaiting user input: unset
Owner: changed from gsherman to g_j_m

comment:3 by g_j_m, 15 years ago

Status: newassigned

comment:4 by g_j_m, 15 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:5 by (none), 14 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.