Changeset 3034
- Timestamp:
- 04/04/2007 10:36:50 PM (2 years ago)
- Files:
-
- trunk/dabo/lib/datanav2/Form.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/lib/datanav2/Form.py
r3033 r3034 65 65 return 66 66 67 iconPath = "themes/tango/22x22" 68 tb.SetToolBitmapSize((22,22)) ## need to abstract in dToolBar! 67 if self.Application.Platform == "Mac": 68 # Toolbar looks better with larger icons on Mac. In fact, I believe HIG 69 # recommends 32x32 for Mac Toolbars. 70 iconSize = (32, 32) 71 else: 72 iconSize = (22, 22) 73 tb.SetToolBitmapSize(iconSize) ## need to abstract in dToolBar! 74 iconPath = "themes/tango/%sx%s" % iconSize 75 69 76 if self.FormType != 'Edit': 70 77 self.appendToolBarButton("First", "%s/actions/go-first.png" % iconPath,
