Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv30964
Modified Files:
ServerWnd.cpp
Log Message:
Minor spacing fix
Index: ServerWnd.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/ServerWnd.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- ServerWnd.cpp 22 Dec 2003 10:45:32 -0000 1.50
+++ ServerWnd.cpp 25 Dec 2003 07:22:10 -0000 1.51
@@ -182,7 +182,11 @@
sbmain->SetSizeHints(sidebar);
/* Add the sidebar to mainsizer. */
+#ifdef __WXMSW__
mainsizer->Add(sidebar, 0, wxGROW|wxADJUST_MINSIZE, 5);
+#else
+ mainsizer->Add(sidebar, 0, wxGROW|wxADJUST_MINSIZE|wxTOP, 5);
+#endif
/* Sidebar sections */
CSBPanel *addserver = new CSBPanel(
@@ -325,7 +329,7 @@
/* Split the window and add to sizer */
splatter->SplitHorizontally( top_panel, bottom_panel,
horizontal_splitter_pos);
- mainsizer->Add(splatter, 0, wxGROW, 0 );
+ mainsizer->Add(splatter, 0, wxGROW|wxTOP, 5 );
this->SetAutoLayout( TRUE );
this->SetSizer( mainsizer );
|