From 2d2fdde13fe54431a3040085c7e6509cbdcd02f3 Mon Sep 17 00:00:00 2001 From: Phil Greenway Date: Tue, 2 Sep 2003 21:09:07 +0000 Subject: [PATCH] Working on ModemWindow git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4454 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/prefs/devices/ModemWindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/prefs/devices/ModemWindow.cpp b/src/prefs/devices/ModemWindow.cpp index 5c0d4e4061..0b1bec7171 100644 --- a/src/prefs/devices/ModemWindow.cpp +++ b/src/prefs/devices/ModemWindow.cpp @@ -10,6 +10,7 @@ Author: Sikosis // Includes ------------------------------------------------------------------------------------------ // #include +#include #include #include #include @@ -63,15 +64,16 @@ void ModemWindow::InitWindow(void) BRect r; r = Bounds(); - BRect CancelButtonRect(27,r.bottom-35,103,r.bottom-15); + BRect CancelButtonRect(24,r.bottom-37,100,r.bottom-13); btnCancel = new BButton(CancelButtonRect,"btnCancel","Cancel", new BMessage(BTN_CANCEL), B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_NAVIGABLE); - BRect AddButtonRect(110,r.bottom-35,186,r.bottom-15); + BRect AddButtonRect(115,r.bottom-37,r.right - 10,r.bottom-13); btnAdd = new BButton(AddButtonRect,"btnAdd","Add", new BMessage(BTN_ADD), B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_NAVIGABLE); + btnAdd->MakeDefault(true); // Create the Views AddChild(ptrModemView = new ModemView(r));