Use correct width in wxDataViewCustomRendererBase::RenderText().
The text should be ellipsized to fit in the text rectangle, not the total cell one (which is larger). See #11558. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3020453f5a
commit
c3fe02e952
@ -792,7 +792,7 @@ wxDataViewCustomRendererBase::RenderText(const wxString& text,
|
||||
text,
|
||||
*dc,
|
||||
GetEllipsizeMode(),
|
||||
rect.width,
|
||||
rectText.width,
|
||||
wxELLIPSIZE_FLAGS_NONE
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user