preflet/network: Convert ServiceView to BGroupView

* Mostly just to be consistent with everything else

Change-Id: I468ce0a20fb918ec6e696bbc9e961dbc4386d7ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4963
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Alexander von Gluck IV 2022-02-15 15:43:41 +00:00 committed by waddlesplash
parent 31f27c4d39
commit 705ee4bf53
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ static const bigtime_t kDisableDuration = 500000;
ServiceView::ServiceView(const char* name, const char* executable,
const char* title, const char* description, BNetworkSettings& settings)
:
BView("service", 0),
BGroupView(B_VERTICAL),
fName(name),
fExecutable(executable),
fSettings(settings)

View File

@ -10,7 +10,7 @@
#include <NetworkSettings.h>
#include <View.h>
#include <GroupView.h>
using namespace BNetworkKit;
@ -18,7 +18,7 @@ using namespace BNetworkKit;
class BButton;
class ServiceView : public BView {
class ServiceView : public BGroupView {
public:
ServiceView(const char* name,
const char* executable, const char* title,