void Base::SetToolTip( const TextObject & strText ) { Label* tooltip = new Label( this ); tooltip->SetText( strText ); tooltip->SetTextColorOverride( GetSkin()->Colors.TooltipText ); tooltip->SetPadding( Padding( 5, 3, 5, 3 ) ); tooltip->SizeToContents(); SetToolTip( tooltip ); }