of course, GetPreferredSize() is defined void
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -165,8 +165,10 @@ void BStringView::ResizeToPreferred()
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BStringView::GetPreferredSize(float* width, float* height)
|
void BStringView::GetPreferredSize(float* width, float* height)
|
||||||
{
|
{
|
||||||
if (!fText)
|
if (!fText) {
|
||||||
return BView::GetPreferredSize(width, height);
|
BView::GetPreferredSize(width, height);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
BFont font;
|
BFont font;
|
||||||
GetFont(&font);
|
GetFont(&font);
|
||||||
|
|||||||
Reference in New Issue
Block a user