Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/gui/toolbar.py

    r11366 r11425  
    2020    button instances). 
    2121 
    22     .. note:: the class does not support `QWidgetAction`s, separators, etc. 
     22    .. note:: the class does not support :class:`QWidgetAction` items, 
     23              separators, etc. 
    2324 
    2425    """ 
     
    5758 
    5859    def __layout(self, size): 
    59         """Layout the buttons to fit inside size. 
     60        """ 
     61        Layout the buttons to fit inside size. 
    6062        """ 
    6163        mygeom = self.geometry() 
     
    8486 
    8587def uniform_layout_helper(items, contents_rect, expanding, spacing): 
    86     """Set fixed sizes on 'items' so they can be lay out in 
    87     contents rect anf fil the whole space. 
     88    """ 
     89    Set fixed sizes on 'items' so they can be laid out in `contents_rect` 
     90    and fill the whole space. The items are laid out in 
     91    `expanding_direction` (:class:`Qt.Orientation`) with `spacing` 
     92    (:class:`int`) 
    8893 
    8994    """ 
Note: See TracChangeset for help on using the changeset viewer.