Fix bug with FBDBlockDialog on Beremiz
authorLaurent Bessard
Fri, 13 Jul 2012 12:42:38 +0200
changeset 725 7c44fc339889
parent 724 57b6446d54f8
child 726 300ced19d03c
Fix bug with FBDBlockDialog on Beremiz
dialogs/FBDBlockDialog.py
--- a/dialogs/FBDBlockDialog.py	Fri Jul 13 12:42:02 2012 +0200
+++ b/dialogs/FBDBlockDialog.py	Fri Jul 13 12:42:38 2012 +0200
@@ -25,7 +25,7 @@
 import wx
 
 from graphics import *
-from controls import LibraryPanel
+from controls.LibraryPanel import LibraryPanel
 
 #-------------------------------------------------------------------------------
 #                          Create New Block Dialog
@@ -35,7 +35,7 @@
     
     def __init__(self, parent, controller):
         wx.Dialog.__init__(self, parent,
-              size=wx.Size(600, 400), title=_('Block Properties'))
+              size=wx.Size(600, 450), title=_('Block Properties'))
         
         main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=4, vgap=10)
         main_sizer.AddGrowableCol(0)