PSDTranslator: Make menu fields variable width

This commit is contained in:
John Scipione 2016-03-14 15:47:20 -07:00
parent 613b939283
commit d712965dd0

View File

@ -80,9 +80,15 @@ ConfigView::ConfigView(TranslatorSettings *settings)
.AddGlue()
.AddGrid(10.0f, 5.0f)
.Add(fVersionField->CreateLabelLayoutItem(), 0, 0)
.Add(fVersionField->CreateMenuBarLayoutItem(), 1, 0)
.AddGroup(B_HORIZONTAL, 0.0f, 1, 0)
.Add(fVersionField->CreateMenuBarLayoutItem(), 0.0f)
.AddGlue()
.End()
.Add(fCompressionField->CreateLabelLayoutItem(), 0, 1)
.Add(fCompressionField->CreateMenuBarLayoutItem(), 1, 1)
.AddGroup(B_HORIZONTAL, 0.0f, 1, 1)
.Add(fCompressionField->CreateMenuBarLayoutItem(), 0.0f)
.AddGlue()
.End()
.End()
.AddGlue()
.Add(copyright2View);