Fix net select size. Set net select as read only

This commit is contained in:
Jean-Samuel Reynaud
2019-10-01 14:09:26 +02:00
parent fa8e23964d
commit dd1b053f91
2 changed files with 7 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
###########################################################################
## Python code generated with wxFormBuilder (version Oct 26 2018)
## Python code generated with wxFormBuilder (version Oct 1 2019)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
@ -19,11 +19,7 @@ class FillAreaDialog ( wx.Dialog ):
def __init__( self, parent ):
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Fill Area parameters", pos = wx.DefaultPosition, size = wx.Size( 402,540 ), style = wx.DEFAULT_DIALOG_STYLE )
import sys
if sys.version_info[0] == 2:
self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
else:
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
bSizer3 = wx.BoxSizer( wx.VERTICAL )
@ -77,8 +73,8 @@ class FillAreaDialog ( wx.Dialog ):
fgSizer1.Add( self.m_staticText6, 1, wx.ALL|wx.EXPAND, 5 )
m_cbNetChoices = []
self.m_cbNet = wx.ComboBox( self, wx.ID_ANY, u"GND", wx.DefaultPosition, wx.DefaultSize, m_cbNetChoices, 0 )
fgSizer1.Add( self.m_cbNet, 0, wx.ALL, 5 )
self.m_cbNet = wx.ComboBox( self, wx.ID_ANY, u"GND", wx.DefaultPosition, wx.DefaultSize, m_cbNetChoices, wx.CB_READONLY )
fgSizer1.Add( self.m_cbNet, 1, wx.ALL|wx.EXPAND, 5 )
self.m_staticText7 = wx.StaticText( self, wx.ID_ANY, u"Debug mode", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_staticText7.Wrap( -1 )