[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5235] Adjust wxDVC row height (VS)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5235] Adjust wxDVC row height (VS) |
Date: |
Sun, 07 Aug 2011 21:44:25 +0000 |
Revision: 5235
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5235
Author: chicares
Date: 2011-08-07 21:44:25 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
Adjust wxDVC row height (VS)
Modified Paths:
--------------
lmi/trunk/census_view.cpp
Modified: lmi/trunk/census_view.cpp
===================================================================
--- lmi/trunk/census_view.cpp 2011-08-07 21:29:53 UTC (rev 5234)
+++ lmi/trunk/census_view.cpp 2011-08-07 21:44:25 UTC (rev 5235)
@@ -300,6 +300,12 @@
,wxDefaultSize
,wxDV_ROW_LINES | wxDV_MULTIPLE
);
+
+ // Use same row height as used by wxListCtrl without icons. By default,
+ // wxDataViewCtrl uses slightly larger spacing, but we prefer to fit more
+ // on the screen over slightly improved readability.
+ list_window_->SetRowHeight(list_window_->GetCharHeight() + 1);
+
list_window_->AssociateModel(list_model_);
// Show headers.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5235] Adjust wxDVC row height (VS),
Greg Chicares <=