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 -*- # -*- 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/ ## http://www.wxformbuilder.org/
## ##
## PLEASE DO *NOT* EDIT THIS FILE! ## PLEASE DO *NOT* EDIT THIS FILE!
@ -19,11 +19,7 @@ class FillAreaDialog ( wx.Dialog ):
def __init__( self, parent ): 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 ) 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 self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
if sys.version_info[0] == 2:
self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
else:
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
bSizer3 = wx.BoxSizer( wx.VERTICAL ) bSizer3 = wx.BoxSizer( wx.VERTICAL )
@ -77,8 +73,8 @@ class FillAreaDialog ( wx.Dialog ):
fgSizer1.Add( self.m_staticText6, 1, wx.ALL|wx.EXPAND, 5 ) fgSizer1.Add( self.m_staticText6, 1, wx.ALL|wx.EXPAND, 5 )
m_cbNetChoices = [] m_cbNetChoices = []
self.m_cbNet = wx.ComboBox( self, wx.ID_ANY, u"GND", wx.DefaultPosition, wx.DefaultSize, m_cbNetChoices, 0 ) 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, 0, wx.ALL, 5 ) 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 = wx.StaticText( self, wx.ID_ANY, u"Debug mode", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_staticText7.Wrap( -1 ) self.m_staticText7.Wrap( -1 )

View File

@ -705,8 +705,8 @@
</object> </object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxALL</property> <property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">0</property> <property name="proportion">1</property>
<object class="wxComboBox" expanded="1"> <object class="wxComboBox" expanded="1">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
@ -754,7 +754,7 @@
<property name="selection">-1</property> <property name="selection">-1</property>
<property name="show">1</property> <property name="show">1</property>
<property name="size"></property> <property name="size"></property>
<property name="style"></property> <property name="style">wxCB_READONLY</property>
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>