Changeset 796 in josm for trunk/src


Ignore:
Timestamp:
2008-08-16T18:40:18+02:00 (16 years ago)
Author:
stoecker
Message:

fixed layout of Toolbar Preferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java

    r715 r796  
    189189                                Dimension d = p.getSize();
    190190                                Dimension b = buttons.getPreferredSize();
    191                                 int width = d.width/2-10-b.width;
     191                                int width = (d.width-10-b.width)/2;
    192192                                left.setBounds(new Rectangle(0,0,width,d.height));
    193193                                right.setBounds(new Rectangle(width+10+b.width,0,width,d.height));
Note: See TracChangeset for help on using the changeset viewer.