Changeset 3750
- Timestamp:
- 11/24/07 07:34:45 (1 year ago)
- Files:
-
- trunk/ide/ClassDesignerComponents.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ide/ClassDesignerComponents.py
r3670 r3750 140 140 continue 141 141 if (hasSizer or isinstance(self, dabo.ui.dPage) or isSplitPanel) and prop in ("Left", 142 "Right", "Top", "Bottom", "Width", "Height"): 142 "Right", "Top", "Bottom"): #, "Width", "Height" 143 ##"Right", "Top", "Bottom", "Width", "Height"): 143 144 ## Note: there may be additional cases where we might have to fine-tune 144 145 ## which if these parameters are skipped/included. 145 ##"Right", "Top", "Bottom"): #, "Width", "Height" 146 continue 147 if (hasSizer or isinstance(self, dabo.ui.dPage) or isSplitPanel) and prop in ("Width", 148 "Height") and self.ControllingSizer.getItemProp(self, "Expand"): 146 149 continue 147 150 if prop == "BackColor" and isinstance(self, (LayoutPanel, LayoutSpacerPanel)): … … 160 163 if not prop in ("Alignment", "Caption", "DataField", "DataSource", 161 164 "FontFace", "HAlign", "Name", "RegID", "SelectionMode", 162 "ToolTipText", "VAlign", "Value") and ( not prop.startswith("Border")163 and not prop.startswith("Header") and not prop.startswith("Sizer_")):165 "ToolTipText", "VAlign", "Value") and ( 166 not prop.startswith(("Border", "Header", "Sizer_"))): 164 167 if isinstance(val, basestring) and os.path.exists(val): 165 168 # It's a path; convert it to a relative path
