kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23185
[PATCH 3/4] eeschema dialogs: Add wxALIGN_CENTER_VERTICAL flag
The code was generated with this flag, but this was never reflected in the
FBP files. Add the flag to avoid code changes during regeneration.
---
eeschema/dialogs/dialog_lib_edit_pin_base.fbp | 4 ++--
eeschema/dialogs/dialog_sch_edit_sheet_pin_base.fbp | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/eeschema/dialogs/dialog_lib_edit_pin_base.fbp b/eeschema/dialogs/dialog_lib_edit_pin_base.fbp
index a4523b0..9afa0bf 100644
--- a/eeschema/dialogs/dialog_lib_edit_pin_base.fbp
+++ b/eeschema/dialogs/dialog_lib_edit_pin_base.fbp
@@ -1022,7 +1022,7 @@
<event name="OnUpdateUI"></event>
<object class="sizeritem" expanded="1">
<property name="border">3</property>
- <property name="flag">wxALL</property>
+ <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
<property name="proportion">0</property>
<object class="wxCheckBox" expanded="1">
<property name="BottomDockable">1</property>
@@ -1110,7 +1110,7 @@
</object>
<object class="sizeritem" expanded="1">
<property name="border">3</property>
- <property name="flag">wxALL</property>
+ <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
<property name="proportion">0</property>
<object class="wxCheckBox" expanded="1">
<property name="BottomDockable">1</property>
diff --git a/eeschema/dialogs/dialog_sch_edit_sheet_pin_base.fbp b/eeschema/dialogs/dialog_sch_edit_sheet_pin_base.fbp
index f5c7863..919a609 100644
--- a/eeschema/dialogs/dialog_sch_edit_sheet_pin_base.fbp
+++ b/eeschema/dialogs/dialog_sch_edit_sheet_pin_base.fbp
@@ -203,7 +203,7 @@
</object>
<object class="sizeritem" expanded="1">
<property name="border">6</property>
- <property name="flag">wxALL|wxEXPAND</property>
+ <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="BottomDockable">1</property>
@@ -387,7 +387,7 @@
</object>
<object class="sizeritem" expanded="1">
<property name="border">6</property>
- <property name="flag">wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT</property>
+ <property name="flag">wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="BottomDockable">1</property>
@@ -644,7 +644,7 @@
</object>
<object class="sizeritem" expanded="1">
<property name="border">6</property>
- <property name="flag">wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT</property>
+ <property name="flag">wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="BottomDockable">1</property>
Follow ups
References