From 8bc063abda1c4a847cb4ca701a4de1877d87148f Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Sat, 6 Jan 2018 23:02:01 -0700 Subject: [PATCH] Pads-Mask Clearance: size dialog properly to avoid cut off text --- pcbnew/dialogs/dialog_mask_clearance.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/dialogs/dialog_mask_clearance.cpp b/pcbnew/dialogs/dialog_mask_clearance.cpp index 913ba2e8ff..1b18fc0012 100644 --- a/pcbnew/dialogs/dialog_mask_clearance.cpp +++ b/pcbnew/dialogs/dialog_mask_clearance.cpp @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -48,8 +48,8 @@ DIALOG_PADS_MASK_CLEARANCE::DIALOG_PADS_MASK_CLEARANCE( PCB_EDIT_FRAME* aParent myInit(); m_sdbButtonsSizerOK->SetDefault(); - GetSizer()->SetSizeHints( this ); - Centre(); + Layout(); + FinishDialogSettings(); }