Changeset 4445

Show
Ignore:
Timestamp:
04/05/09 14:58:55 (4 years ago)
Author:
ignotus
Message:

Added a HIGScrolledWindow to RadialNet ControlWidget?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/umit/gui/ScanMapperPage.py

    r4441 r4445  
    2626from umit.gui.radialnet.Toolbar import Toolbar 
    2727 
    28 from higwidgets.higboxes import HIGVBox, HIGHBox 
     28from higwidgets.higboxes import HIGVBox, HIGHBox, HIGScrolledWindow 
    2929 
    3030from umit.core.I18N import _ 
     
    6161 
    6262        self.__control = ControlWidget(self.__radialnet) 
     63        self.__control_sw = HIGScrolledWindow() 
     64        self.__control_sw.add_with_viewport(self.__control) 
     65        self.__control_sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) 
     66 
    6367        self.__fisheye = ControlFisheye(self.__radialnet) 
    6468        self.__toolbar = Toolbar(self.__radialnet, 
    6569                                        self, 
    66                                         self.__control, 
     70                                        self.__control_sw, 
    6771                                        self.__fisheye) 
    6872        self.__toolbar.disable_tools() 
     
    7175         
    7276        self.__hbox._pack_expand_fill(self.__radialnet) 
    73         self.__hbox._pack_noexpand_nofill(self.__control) 
     77        self.__hbox._pack_noexpand_nofill(self.__control_sw) 
    7478         
    7579        self._pack_noexpand_nofill(self.__toolbar)