Changeset 2544

Show
Ignore:
Timestamp:
10/24/08 18:09:53 (2 months ago)
Author:
mwlinnem
Message:

Only somewhat hacky fix to buttons going outside visible pane at startup.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugins/visualization/edu.iu.nwb.visualization.guess/ALGORITHM/default/scripts/graphModifier.py

    r2543 r2544  
    534534                dockSelf.buttonPanel.setPreferredSize(Dimension(dimWidth, dimHeight)) 
    535535                dockSelf.layoutPanel.add(dockSelf.buttonPanel) 
     536                 
     537                dockSelf.buttonPanel2 = JPanel() 
     538                dockSelf.buttonPanel2.setPreferredSize(Dimension(dimWidth, dimHeight)) 
     539                dockSelf.layoutPanel.add(dockSelf.buttonPanel2) 
     540                 
    536541                dockSelf.bottomPanel = JPanel() # the bottom panel 
    537542                dockSelf.bottomPanel.setPreferredSize(Dimension(900, 280)) 
     
    734739                dockSelf.buttonPanel.add(dockSelf.hideLabelButton) 
    735740                dockSelf.buttonPanel.add(dockSelf.changeLabelButton) 
    736                 dockSelf.buttonPanel.add(dockSelf.nodeStyleButton) 
    737                 dockSelf.buttonPanel.add(dockSelf.centerButton) 
    738                 dockSelf.buttonPanel.add(dockSelf.changeHistoryButton) 
     741                dockSelf.buttonPanel2.add(dockSelf.nodeStyleButton) 
     742                dockSelf.buttonPanel2.add(dockSelf.centerButton) 
     743                dockSelf.buttonPanel2.add(dockSelf.changeHistoryButton) 
    739744                 
    740745                # set intial value of object box to all