From 895e187ca02271ec298987dfdeaaf50c0b276366 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 4 Oct 2018 14:45:07 +0100 Subject: [PATCH] Add a bit more space for those using larger fonts. --- .../dialog_global_edit_text_and_graphics_base.cpp | 10 +++++----- .../dialog_global_edit_text_and_graphics_base.fbp | 8 ++++---- .../dialogs/panel_setup_text_and_graphics_base.cpp | 12 ++++++------ .../dialogs/panel_setup_text_and_graphics_base.fbp | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.cpp b/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.cpp index 475235c874..4c97847263 100644 --- a/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.cpp +++ b/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.cpp @@ -112,10 +112,10 @@ DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_ fgSizer1->Add( m_LayerCtrl, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 ); - fgSizer1->Add( 0, 0, 0, wxEXPAND, 10 ); + fgSizer1->Add( 0, 0, 0, wxEXPAND, 5 ); - fgSizer1->Add( 0, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 30 ); + fgSizer1->Add( 55, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); m_Visible = new wxCheckBox( m_specifiedValues, wxID_ANY, _("Visible"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER ); m_Visible->SetValue(true); @@ -224,12 +224,12 @@ DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_ // Columns m_grid->SetColSize( 0, 120 ); - m_grid->SetColSize( 1, 95 ); + m_grid->SetColSize( 1, 110 ); m_grid->SetColSize( 2, 95 ); m_grid->SetColSize( 3, 95 ); - m_grid->SetColSize( 4, 95 ); + m_grid->SetColSize( 4, 110 ); m_grid->SetColSize( 5, 50 ); - m_grid->SetColSize( 6, 50 ); + m_grid->SetColSize( 6, 75 ); m_grid->EnableDragColMove( false ); m_grid->EnableDragColSize( false ); m_grid->SetColLabelSize( 0 ); diff --git a/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.fbp b/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.fbp index 2a66af58c0..65f385e91b 100644 --- a/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.fbp +++ b/pcbnew/dialogs/dialog_global_edit_text_and_graphics_base.fbp @@ -1450,7 +1450,7 @@ - 10 + 5 wxEXPAND 0 @@ -1460,13 +1460,13 @@ - 30 + 5 wxEXPAND|wxRIGHT|wxLEFT 0 0 protected - 0 + 55 @@ -2975,7 +2975,7 @@ wxALIGN_CENTRE 7 - 120,95,95,95,95,50,50 + 120,110,95,95,110,50,75 1 0 diff --git a/pcbnew/dialogs/panel_setup_text_and_graphics_base.cpp b/pcbnew/dialogs/panel_setup_text_and_graphics_base.cpp index 1cc762b73a..dfc1089207 100644 --- a/pcbnew/dialogs/panel_setup_text_and_graphics_base.cpp +++ b/pcbnew/dialogs/panel_setup_text_and_graphics_base.cpp @@ -32,12 +32,12 @@ PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE( wxWindow m_grid->SetMargins( 0, 0 ); // Columns - m_grid->SetColSize( 0, 120 ); - m_grid->SetColSize( 1, 100 ); - m_grid->SetColSize( 2, 100 ); - m_grid->SetColSize( 3, 120 ); - m_grid->SetColSize( 4, 60 ); - m_grid->SetColSize( 5, 100 ); + m_grid->SetColSize( 0, 130 ); + m_grid->SetColSize( 1, 106 ); + m_grid->SetColSize( 2, 106 ); + m_grid->SetColSize( 3, 130 ); + m_grid->SetColSize( 4, 70 ); + m_grid->SetColSize( 5, 116 ); m_grid->EnableDragColMove( false ); m_grid->EnableDragColSize( true ); m_grid->SetColLabelSize( 22 ); diff --git a/pcbnew/dialogs/panel_setup_text_and_graphics_base.fbp b/pcbnew/dialogs/panel_setup_text_and_graphics_base.fbp index a7dea06e37..072d15ad65 100644 --- a/pcbnew/dialogs/panel_setup_text_and_graphics_base.fbp +++ b/pcbnew/dialogs/panel_setup_text_and_graphics_base.fbp @@ -206,7 +206,7 @@ "Line Thickness" "Text Width" "Text Height" "Text Thickness" "Italic" "Keep Upright" wxALIGN_CENTRE 6 - 120,100,100,120,60,100 + 130,106,106,130,70,116 1 0