Skip to content

Commit

Permalink
SpiderSaver: Use DefaultItemSpacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Apr 6, 2016
1 parent 197c60b commit cc067f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/add-ons/screen_savers/spider/SpiderView.cpp
Expand Up @@ -10,6 +10,7 @@
#include "SpiderView.h"

#include <Catalog.h>
#include <ControlLook.h>
#include <Message.h>
#include <Menu.h>
#include <MenuField.h>
Expand Down Expand Up @@ -164,7 +165,7 @@ SpiderView::SpiderView(BRect frame, SpiderSaver* saver, uint32 queueNumber,
fColorMenuField = new BMenuField(frame, "color", B_TRANSLATE("Color"),
menu);
fColorMenuField->SetDivider(fColorMenuField->StringWidth(
B_TRANSLATE("Color")) + 5.0f);
B_TRANSLATE("Color")) + be_control_look->DefaultItemSpacing());
AddChild(fColorMenuField);
}

Expand Down

0 comments on commit cc067f1

Please sign in to comment.