Changeset 3158

Show
Ignore:
Timestamp:
07/16/08 23:44:41 (5 years ago)
Author:
nopper
Message:

adding protocols tree

Location:
branch/PacketManipulator/widgets
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • branch/PacketManipulator/widgets/PropertyGrid.py

    r3157 r3158  
    117117            size = bounds.width 
    118118             
    119         # Paint a center check button 
    120         widget.style.paint_check(window, state, sh, bounds, widget, \ 
    121             "checkbutton",                                          \ 
    122             bounds.x                                                \ 
    123             bounds.y + (bounds.height - size) / 2,                  \ 
    124             size, size) 
    125          
     119        # Paint a right aligned checkbox 
     120        widget.style.paint_check(window, state, sh, bounds, widget, 
     121                                 "checkbutton", bounds.x, 
     122                                 bounds.y + (bounds.height - size) / 2,  
     123                                 size, size) 
     124         
     125        # Yes we handle the drawing 
    126126        return True 
    127127