Opened 14 years ago
Closed 14 years ago
#2191 closed bug (fixed)
Attribute table: edit text window size not matching column width
Reported by: | Donkagen2 | Owned by: | jef |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.4.0 |
Component: | GUI | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
If the attribute table column width is increased from the default, when editing a text field the visible editing text string doesn't match the column width.
Change History (3)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Platform: | Windows → All |
comment:2 by , 14 years ago
The problem is in line 88 of qgsattributetabledelegate.cpp:
editor->adjustSize();
It makes the widget always adjusting to its default size. I'd remove this line, however it's good for one widget class: the file selector, what is higher than the row height. What about testing the editor class and adjusting only if it's the file selector?
Note:
See TracTickets
for help on using tickets.
I fixed a similar problem with the widget resize in r12034, but due to changes in r12077 it's broken again and I can't manage to set the widget resizing policy. Jürgen heeeeelp...
It's, however, better than was, because previously columns were being shrinked to a default size of the widget.