refactor text_renderer
This commit is contained in:
@@ -147,7 +147,7 @@ namespace nana
|
||||
nana::paint::text_renderer tr(graph);
|
||||
|
||||
auto wstr = to_wstring(text);
|
||||
tr.render(pos, wstr.c_str(), wstr.length(), text_pixels, true);
|
||||
tr.render(pos, wstr.c_str(), wstr.length(), text_pixels, paint::text_renderer::mode::truncate_with_ellipsis);
|
||||
}
|
||||
|
||||
void sub_arrow(graph_reference graph, const nana::point& pos, unsigned pixels, const attr&)
|
||||
|
||||
Reference in New Issue
Block a user