Ticket #4948: 4948_1.patch

File 4948_1.patch, 656 bytes (added by Hojoe, 14 years ago)

change the row height to the cell editor preferred height

  • src/org/openstreetmap/josm/gui/tagging/TagTable.java

    ### Eclipse Workspace Patch 1.0
    #P JOSM
     
    350350
    351351        // create the table cell editor and set it to key and value columns
    352352        //
    353         setTagCellEditor(new TagCellEditor());
     353        TagCellEditor tmpEditor = new TagCellEditor();
     354        setRowHeight(tmpEditor.getEditor().getPreferredSize().height);
     355        setTagCellEditor(tmpEditor);
    354356    }
    355357
    356358    /**