BStringItem: Tiny style fix
This commit is contained in:
@@ -130,7 +130,7 @@ BStringItem::Text() const
|
|||||||
void
|
void
|
||||||
BStringItem::Update(BView *owner, const BFont *font)
|
BStringItem::Update(BView *owner, const BFont *font)
|
||||||
{
|
{
|
||||||
if (fText) {
|
if (fText != NULL) {
|
||||||
SetWidth(font->StringWidth(fText)
|
SetWidth(font->StringWidth(fText)
|
||||||
+ be_control_look->DefaultLabelSpacing());
|
+ be_control_look->DefaultLabelSpacing());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user