BColumnListView: BRow height is proportional to font size.

* Add a BRow default constructor that use font size to compute height.
* Min height size for Title and Row are decoupled.
* The font ratio for Title and Row are decoupled.
* For small font use min height (set to usual 16.0).
* Better baseline formula.
* Fixes #11944.
This commit is contained in:
Janus
2015-04-05 16:58:00 +00:00
parent 0b926d31dd
commit 85b350edda
3 changed files with 30 additions and 8 deletions
+2 -1
View File
@@ -121,7 +121,8 @@ public:
// a parent of a row, using the AddRow() function in BColumnListView().
class BRow {
public:
BRow(float height = 16.0);
BRow();
BRow(float height);
virtual ~BRow();
virtual bool HasLatch() const;