Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12453/src/gui
Modified Files:
wxMDialogs.cpp
Log Message:
cosmetic fix: aligh label and text properly
Index: wxMDialogs.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMDialogs.cpp,v
retrieving revision 1.421
retrieving revision 1.422
diff -b -u -2 -r1.421 -r1.422
--- wxMDialogs.cpp 9 Apr 2005 20:54:01 -0000 1.421
+++ wxMDialogs.cpp 17 Jul 2005 22:57:46 -0000 1.422
@@ -3133,9 +3133,9 @@
wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);
m_labelText = new wxStaticText(m_frame, -1, text);
- sizer->Add(m_labelText, 0, wxALL & ~wxRIGHT, 10);
+ sizer->Add(m_labelText, 0, wxALIGN_CENTER_VERTICAL | (wxALL & ~wxRIGHT),
10);
// hack: use a long label for sizer calculations
m_labelValue = new wxStaticText(m_frame, -1, _("XXXXXX done"));
- sizer->Add(m_labelValue, 0, wxLEFT | wxRIGHT, 10);
+ sizer->Add(m_labelValue, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 10);
m_frame->SetAutoLayout(TRUE);
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates