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) .SetInsets(padding)
.Add(titleView) .Add(titleView)
.Add(detailView) .Add(detailView)
.Add(fCompressionMF) .AddGroup(B_HORIZONTAL)
.Add(fCompressionMF)
.AddGlue()
.End()
.Add(infoView) .Add(infoView)
.AddGlue(); .AddGlue();
@ -170,7 +173,6 @@ SGIView::MessageReceived(BMessage* message)
fSettings->SetGetInt32(SGI_SETTING_COMPRESSION, &value); fSettings->SetGetInt32(SGI_SETTING_COMPRESSION, &value);
fSettings->SaveSettings(); fSettings->SaveSettings();
} }
fCompressionMF->ResizeToPreferred();
break; break;
} }
default: default: