better place the button Restart

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17109 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-04-12 14:20:39 +00:00
parent 97e069713b
commit f7f614034d

View File

@ -170,7 +170,7 @@ TMView::TMView(BRect bounds, const char* name, uint32 resizeFlags,
AddChild(forceReboot);
BRect restartRect = rect;
restartRect.left = rect.right + 20;
restartRect.left = rect.right + 10;
restartRect.right = restartRect.left + font.StringWidth("Restart the Desktop") + 20;
fRestartButton = new BButton(restartRect, "restart", "Restart the Desktop",
new BMessage(TM_RESTART_DESKTOP), B_FOLLOW_LEFT | B_FOLLOW_BOTTOM);