Changeset 4058
- Timestamp:
- 05/03/08 09:31:23 (3 months ago)
- Files:
-
- trunk/dabo/ui/uiwx/dFormMixin.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/dFormMixin.py
r3901 r4058 449 449 state = "Normal" 450 450 self.WindowState = state 451 451 # Make sure that the frame is on the visible display 452 dispWd, dispHt = dabo.ui.getDisplaySize() 453 self.Right = min(dispWd, self.Right) 454 self.Bottom = min(dispHt, self.Bottom) 455 if self.Application.Platform == "Mac": 456 # Need to account for the menu bar 457 minTop = 23 458 else: 459 minTop = 0 460 self.Left = max(0, self.Left) 461 self.Top = max(minTop, self.Top) 462 452 463 self.restoredSP = True 453 464
