[QGIS-trac] Re: [Quantum GIS] #2191: Attribute table: edit text window size not matching column width

Quantum GIS qgis at qgis.org
Sun Dec 20 08:58:49 EST 2009


#2191: Attribute table: edit text window size not matching column width
-------------------------------------+--------------------------------------
        Reporter:  Donkagen2         |         Owner:  jef          
            Type:  bug               |        Status:  new          
        Priority:  minor: annoyance  |     Milestone:  Version 1.4.0
       Component:  GUI               |       Version:  HEAD         
      Resolution:                    |      Keywords:               
Platform_version:                    |      Platform:  All          
        Must_fix:  No                |   Status_info:  0            
-------------------------------------+--------------------------------------
Comment (by borysiasty):

 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?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2191#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list