new features of listbox

text line number and line indent
This commit is contained in:
Jinhao
2015-10-21 01:39:11 +08:00
parent c6f2f28f81
commit 5590dd293b
9 changed files with 232 additions and 20 deletions

View File

@@ -410,7 +410,7 @@ namespace nana
{
auto spins_r = _m_spins_area();
if (spins_r.x == 0)
editor_->text_area({});
editor_->text_area(rectangle{});
else
editor_->text_area({ 2, 2, graph_->width() - spins_r.width - 2, spins_r.height - 2 });
}