Fix "tall row" height in the dataview sample in high DPI
Add missing FromDIP() to ensure that the rows are really tall.
This commit is contained in:
@@ -1106,7 +1106,7 @@ void MyFrame::BuildDataViewCtrl(wxPanel* parent, unsigned int nPanel,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( HasModelFlag(MODEL_USE_TALL_ROWS) )
|
if ( HasModelFlag(MODEL_USE_TALL_ROWS) )
|
||||||
m_ctrl[nPanel]->SetRowHeight(32);
|
m_ctrl[nPanel]->SetRowHeight(FromDIP(32));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user