]> git.saurik.com Git - wxWidgets.git/commitdiff
Also right-align second column
authorRobert Roebling <robert@roebling.de>
Sat, 5 Apr 2008 18:25:11 +0000 (18:25 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 5 Apr 2008 18:25:11 +0000 (18:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dataview/dataview.cpp

index f51aca70d6858747175dcc66bc9ec0f3c3fa447d..f5e92f53601417590ba5d2aeafee5a594f42ce8e 100644 (file)
@@ -800,7 +800,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString &title, int x, int y, int w, int
                wxDATAVIEW_COL_SORTABLE | wxDATAVIEW_COL_REORDERABLE | wxDATAVIEW_COL_RESIZABLE);
 #endif
     
-    m_musicCtrl->AppendTextColumn( wxT("Artist"), 1, wxDATAVIEW_CELL_EDITABLE, 150, wxALIGN_LEFT, 
+    m_musicCtrl->AppendTextColumn( wxT("Artist"), 1, wxDATAVIEW_CELL_EDITABLE, 150, wxALIGN_RIGHT, 
                wxDATAVIEW_COL_SORTABLE | wxDATAVIEW_COL_REORDERABLE  | wxDATAVIEW_COL_RESIZABLE);
 
     wxDataViewSpinRenderer *sr = new wxDataViewSpinRenderer( 0, 2010 );