From: <ip...@us...> - 2008-09-12 03:05:59
|
Revision: 3414 http://hugin.svn.sourceforge.net/hugin/?rev=3414&view=rev Author: ippei Date: 2008-09-12 03:05:57 +0000 (Fri, 12 Sep 2008) Log Message: ----------- minor layout adjustment Modified Paths: -------------- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp Modified: hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-09-12 03:05:39 UTC (rev 3413) +++ hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-09-12 03:05:57 UTC (rev 3414) @@ -140,7 +140,7 @@ m_ToggleButtonSizer->Add(m_ButtonPanel, 1, wxEXPAND | wxADJUST_MINSIZE, 0); - m_topsizer->Add(m_ToggleButtonSizer, 0, wxEXPAND | wxADJUST_MINSIZE | wxBOTTOM, 5); + m_topsizer->Add(m_ToggleButtonSizer, 0, wxEXPAND | wxADJUST_MINSIZE | wxALL, 5); wxFlexGridSizer * flexSizer = new wxFlexGridSizer(2,0,5,5); flexSizer->AddGrowableCol(0); @@ -729,6 +729,7 @@ wxDialog dlg; wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("dlg_numtrans")); + dlg.CentreOnParent(); if (dlg.ShowModal() == wxID_OK ) { wxString text = XRCCTRL(dlg, "numtrans_yaw", wxTextCtrl)->GetValue(); double y; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |