ScrollView for roomlist, NO_BORDER for user scroll
This commit is contained in:
parent
42c52b324d
commit
2645a58955
|
@ -331,7 +331,7 @@ ConversationView::_InitInterface()
|
|||
{
|
||||
fReceiveView = new RenderView("receiveView");
|
||||
BScrollView* scrollViewReceive = new BScrollView("receiveScrollView",
|
||||
fReceiveView, B_WILL_DRAW, false, true);
|
||||
fReceiveView, B_WILL_DRAW, false, true, B_NO_BORDER);
|
||||
|
||||
fSendView = new SendTextView("sendView", this);
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include <Catalog.h>
|
||||
#include <LayoutBuilder.h>
|
||||
#include <MenuBar.h>
|
||||
#include <ScrollView.h>
|
||||
#include <TranslationUtils.h>
|
||||
|
||||
#include "AccountDialog.h"
|
||||
|
@ -446,6 +447,9 @@ MainWindow::_InitInterface()
|
|||
fStatusView = new StatusView("statusView", fServer);
|
||||
fSplitView = new BSplitView(B_HORIZONTAL, 0);
|
||||
|
||||
BScrollView* listScroll = new BScrollView("roomListScroll", fListView,
|
||||
true, false, B_NO_BORDER);
|
||||
|
||||
// Right-side of window, Chat + Textbox
|
||||
fRightView = new BSplitView(B_VERTICAL, 0);
|
||||
fBackupChatView = new ConversationView();
|
||||
|
@ -465,7 +469,7 @@ MainWindow::_InitInterface()
|
|||
.SetInsets(5, 5, 0, 10)
|
||||
.AddSplit(fSplitView)
|
||||
.AddGroup(B_VERTICAL)
|
||||
.Add(fListView, 1)
|
||||
.Add(listScroll, 1)
|
||||
.Add(fStatusView)
|
||||
.End()
|
||||
.Add(fRightView, 5)
|
||||
|
|
Ŝarĝante…
Reference in New Issue