[haiku-commits] Re: haiku: hrev44397 - src/preferences/notifications

  • From: Philippe Saint-Pierre <stpere@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 23 Jul 2012 22:02:53 -0400

Le 23 juil. 2012 22:00, "Alex Wilson" <yourpalal2@xxxxxxxxx> a écrit :
>>
>> @@ -65,6 +65,7 @@ DisplayView::DisplayView(SettingsHost* host)
>>                 .Add(fIconSizeField->CreateLabelLayoutItem(), 0, 1)
>>                 .Add(fIconSizeField->CreateMenuBarLayoutItem(), 1, 1)
>>                 .Add(BSpaceLayoutItem::CreateGlue(), 0, 2, 2, 1)
>> +               .SetInsets(inset, inset, inset, inset)
>
>
> It's not a big deal, but you can write this as SetInsets(insets) when all
four insets are equal.
>
> --Alex

Oh! Thanks for the tip :-)

Other related posts: