Only height should be increased for LIB_TREE_RENDERER.
This commit is contained in:
parent
ac59fae152
commit
fba6aaf0e8
|
@ -47,9 +47,7 @@ public:
|
||||||
|
|
||||||
wxSize GetSize() const override
|
wxSize GetSize() const override
|
||||||
{
|
{
|
||||||
wxSize size( GetOwner()->GetWidth(), GetTextExtent( m_text ).y );
|
return wxSize( GetOwner()->GetWidth(), GetTextExtent( m_text ).y + 2 );
|
||||||
size.IncBy( 2, 2 );
|
|
||||||
return size;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetValue( wxVariant& aValue ) const override
|
bool GetValue( wxVariant& aValue ) const override
|
||||||
|
|
Loading…
Reference in New Issue