main logo
Subject: [dabo-dev] dabodemo Commit 280
Author: Ed Leafe
Posted: 2005/08/31 19:10:10
 
View Entire Thread
New Search


dabodemo Commit
Revision 280
Date: 2005-08-31 17:19:19 -0700 (Wed, 31 Aug 2005)
Author: ed

Changed:
U trunk/montana.py

Log:
Updated to use the new BitmapBorder property. While it looked better on the Mac without the extra space, it still looks OK.


Diff:
Modified: trunk/montana.py
===================================================================
--- trunk/montana.py 2005-08-31 23:32:07 UTC (rev 279)
+++ trunk/montana.py 2005-09-01 00:19:19 UTC (rev 280)
@@ -59,8 +59,8 @@
self.AutoSize = True
# These help when re-scaling
baseBmp = dabo.ui.dBitmap(self.Parent, Picture="cards/blank")
- self._baseWd = baseBmp.Width
- self._baseHt = baseBmp.Height
+ self._baseWd = baseBmp.Width + self.BitmapBorder
+ self._baseHt = baseBmp.Height + self.BitmapBorder
baseBmp.release()

# Base the size on the ImageScale





 
©2005 Ed Leafe
<-- Prior Message New Search Next Message -->