Fix cut-off library tree cell texts.

This commit is contained in:
Alex Shvartzkop 2024-01-16 21:59:03 +03:00
parent 4fb11e210a
commit ac59fae152
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ public:
wxSize GetSize() const override
{
return wxSize( GetOwner()->GetWidth(), GetTextExtent( m_text ).y );
wxSize size( GetOwner()->GetWidth(), GetTextExtent( m_text ).y );
size.IncBy( 2, 2 );
return size;
}
bool GetValue( wxVariant& aValue ) const override