kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22161
[PATCH] Move exactly dialog not exactly right on init
Hello
I have noticed this problem for a while; where the move exactly dialog
did not seem quite right when first opened. See the image:
http://www.pasteall.org/pic/show.php?id=96746
The labels for the x and y are not positioned properly. I can
reproduce this all the times on my machine, but it seems that other
people don't see this issue. For reference I have wxgtk 3.0.2-5 on
arch linux from the package manager.
I have found that calling the Layout() method in the constructor fixes
this issue.
Please consider applying the attached oneliner.
Regards
Nick Østergaard
=== modified file 'pcbnew/dialogs/dialog_move_exact.cpp'
--- pcbnew/dialogs/dialog_move_exact.cpp 2015-10-20 18:03:07 +0000
+++ pcbnew/dialogs/dialog_move_exact.cpp 2015-12-21 23:17:06 +0000
@@ -58,6 +58,7 @@
m_stdButtonsOK->SetDefault();
GetSizer()->SetSizeHints( this );
+ Layout();
}
Follow ups