SGITranslator: Ax ResizeToPreferred(), use glue instead.

This commit is contained in:
John Scipione 2013-05-31 15:22:04 -04:00
parent 10e82a5380
commit e339efbfef

View File

@ -130,7 +130,10 @@ SGIView::SGIView(const char* name, uint32 flags, TranslatorSettings* settings)
.SetInsets(padding)
.Add(titleView)
.Add(detailView)
.AddGroup(B_HORIZONTAL)
.Add(fCompressionMF)
.AddGlue()
.End()
.Add(infoView)
.AddGlue();
@ -170,7 +173,6 @@ SGIView::MessageReceived(BMessage* message)
fSettings->SetGetInt32(SGI_SETTING_COMPRESSION, &value);
fSettings->SaveSettings();
}
fCompressionMF->ResizeToPreferred();
break;
}
default: