Changeset 4011

Show
Ignore:
Timestamp:
04/01/08 19:38:18 (8 months ago)
Author:
ed
Message:

Modified the instruction for changing the type of a control to be hidden when working with a grid, as that instruction does not apply to grids.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ide/wizards/QuickLayoutWizard.py

    r3720 r4011  
    290290                FontSize=8, FontItalic=True) 
    291291        self.Sizer.append(lbl, halign="center") 
    292         lbl = dabo.ui.dLabel(self, Caption=_("Right-click a control to change its type"), 
     292        self.rClickLbl = dabo.ui.dLabel(self, Caption=_("Right-click a control to change its type"), 
    293293                FontSize=8, FontItalic=True) 
    294         self.Sizer.append(lbl, halign="center", border=3, borderSides="top") 
     294        self.Sizer.append(self.rClickLbl, halign="center", border=3, borderSides="top") 
    295295        self.samplePanel = dabo.ui.dScrollPanel(self, BackColor="papayawhip")        
    296296        itm = self.Sizer.append1x(self.samplePanel, border=3, borderSides="top") 
     
    350350         
    351351        # Create the new controls 
     352        self.rClickLbl.Visible = (layType.lower() != "grid") 
    352353        if layType.lower() == "grid": 
    353354            self.makeGrid()