Changeset 5291 in josm for trunk/src


Ignore:
Timestamp:
2012-06-21T01:15:37+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #4688 - conflict manager, member and nodes tabs: set width of number column to fixed size

Location:
trunk/src/org/openstreetmap/josm/gui/conflict/pair
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListColumnModel.java

    r3083 r5291  
    1818        col.setHeaderValue("");
    1919        col.setResizable(true);
    20         col.setWidth(30);
    21         col.setPreferredWidth(30);
     20        col.setPreferredWidth(32);
     21        col.setMaxWidth(32);    // Up to 4 digits (OSM API capabilities -> waynodes maximum set to 2000)
    2222        col.setCellRenderer(renderer);
    2323        addColumn(col);
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/relation/RelationMemberListColumnModel.java

    r3083 r5291  
    1313        RelationMemberTableCellRenderer renderer = new RelationMemberTableCellRenderer();
    1414
    15         // column 0 - Role
     15        // column 0 - Row num
    1616        col = new TableColumn(0);
    1717        col.setHeaderValue("");
    1818        col.setResizable(true);
    19         col.setWidth(20);
    20         col.setPreferredWidth(20);
     19        col.setPreferredWidth(32);
     20        col.setMaxWidth(40);    // Up to 5 digits
    2121        col.setCellRenderer(renderer);
    2222        addColumn(col);
Note: See TracChangeset for help on using the changeset viewer.