fixed listbox scheme.header_padding_top use
This commit is contained in:
parent
66461d6304
commit
56065bb2b8
@ -3511,12 +3511,9 @@ namespace nana
|
|||||||
//Set column font
|
//Set column font
|
||||||
graph.typeface(column.typeface());
|
graph.typeface(column.typeface());
|
||||||
|
|
||||||
unsigned ascent, descent, ileading;
|
|
||||||
graph.text_metrics(ascent, descent, ileading);
|
|
||||||
|
|
||||||
point text_pos{
|
point text_pos{
|
||||||
column_r.x + static_cast<int>(crp.margin),
|
column_r.x + static_cast<int>(crp.margin),
|
||||||
column_r.bottom() - static_cast<int>(crp.height + ascent + descent) / 2
|
static_cast<int>(essence_->scheme_ptr->header_padding_top)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (align::left == column.alignment)
|
if (align::left == column.alignment)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user