Changeset 652


Ignore:
Timestamp:
08/19/10 14:19:08 (9 years ago)
Author:
beliar
Message:

Patch by Beliar

  • Changed autoscroll of action window to use the new methods of pychan's scrollarea added in fife revision 3416.

PARPG now needs fife svn r3416 or higher.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gui/hud.py

    r648 r652  
    133133        actions_scroll_area = self.actions_box.parent 
    134134        actions_scroll_area.adaptLayout() 
    135         real_widget = actions_scroll_area.real_widget 
    136         real_widget.setVerticalScrollAmount(real_widget.getVerticalMaxScroll()) 
     135        actions_scroll_area.vertical_scroll_amount = actions_scroll_area.getVerticalMaxScroll() 
    137136 
    138137    def addAction(self, action): 
Note: See TracChangeset for help on using the changeset viewer.