daboide Commit
Revision 414
Date: 2006-01-30 16:56:56 -0800 (Mon, 30 Jan 2006)
Author: ed
Changed:
U trunk/Editor.py
A trunk/funcbtn.png
Log:
Replaced the old function button with a dImage using a PNG image.
Diff:
Modified: trunk/Editor.py
===================================================================
--- trunk/Editor.py 2006-01-31 00:31:20 UTC (rev 413)
+++ trunk/Editor.py 2006-01-31 00:56:56 UTC (rev 414)
@@ -164,8 +164,8 @@
self._lastPath = os.getcwd()
super(EditorForm, self).afterInit()
self.Caption = "Dabo Editor"
- self.funcButton = dabo.ui.dBitmapButton(pnl, Caption="F",
- BackColor="Brown", BorderWidth=1)
+ self.funcButton = dabo.ui.dImage(pnl, ScaleMode="Clip")
+ self.funcButton.Picture = "funcbtn.png"
# Make it square
self.funcButton.Width = self.funcButton.Height = 22
pnl.Sizer.append(self.funcButton, halign="left", border=4)
Added: trunk/funcbtn.png
===================================================================
(Binary files differ)
Property changes on: trunk/funcbtn.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev