SGITranslator: Ax ResizeToPreferred(), use glue instead.
This commit is contained in:
parent
10e82a5380
commit
e339efbfef
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user