From 2e73703cc862deb4933fa7be334432f83d67af73 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 26 Apr 2020 22:04:39 +0100 Subject: [PATCH] Shrink the Footprint Properties dialogs a bit. --- ...ialog_edit_footprint_for_BoardEditor_base.cpp | 2 +- ...ialog_edit_footprint_for_BoardEditor_base.fbp | 16 ++++++++-------- .../dialog_edit_footprint_for_fp_editor_base.cpp | 2 +- .../dialog_edit_footprint_for_fp_editor_base.fbp | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp index 9f1e4cc290..ea138985ff 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp @@ -480,7 +480,7 @@ DIALOG_FOOTPRINT_BOARD_EDITOR_BASE::DIALOG_FOOTPRINT_BOARD_EDITOR_BASE( wxWindow sbSizer3->Add( bSizer3DButtons, 0, wxEXPAND, 5 ); - bSizerMain3D->Add( sbSizer3, 5, wxEXPAND|wxRIGHT|wxLEFT, 5 ); + bSizerMain3D->Add( sbSizer3, 3, wxEXPAND|wxRIGHT|wxLEFT, 5 ); bLowerSizer3D = new wxBoxSizer( wxHORIZONTAL ); diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp index 86d29026ba..937624a19f 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp @@ -3582,8 +3582,8 @@ 5 wxEXPAND|wxRIGHT|wxLEFT - 5 - + 3 + wxID_ANY @@ -3681,11 +3681,11 @@ On3DModelSelected - + 5 wxEXPAND 0 - + bSizer3DButtons wxHORIZONTAL @@ -3763,11 +3763,11 @@ OnAdd3DRow - + 5 wxALIGN_CENTER_VERTICAL|wxLEFT 0 - + 1 1 1 @@ -3836,11 +3836,11 @@ OnAdd3DModel - + 5 wxEXPAND|wxRIGHT|wxLEFT 0 - + 0 protected 0 diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.cpp index 2ee74de7b1..b0499784bd 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.cpp @@ -375,7 +375,7 @@ DIALOG_FOOTPRINT_FP_EDITOR_BASE::DIALOG_FOOTPRINT_FP_EDITOR_BASE( wxWindow* pare sbSizer3->Add( bSizer3DButtons, 0, wxEXPAND, 5 ); - bSizerMain3D->Add( sbSizer3, 5, wxEXPAND|wxRIGHT|wxLEFT, 5 ); + bSizerMain3D->Add( sbSizer3, 3, wxEXPAND|wxRIGHT|wxLEFT, 5 ); bLowerSizer3D = new wxBoxSizer( wxHORIZONTAL ); diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.fbp b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.fbp index b8d982c7f6..2c71a0e897 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.fbp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor_base.fbp @@ -2631,7 +2631,7 @@ 5 wxEXPAND|wxRIGHT|wxLEFT - 5 + 3 wxID_ANY