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