From 52b93dc4228459bd7e1204f80d983a3b29b32f1d Mon Sep 17 00:00:00 2001 From: akshay-c Date: Thu, 2 May 2019 11:24:18 +0530 Subject: Solved DrawWindow's Focus, Cursor, RungDisplay(Scrolling) issues --- ldmicro/maincontrols.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ldmicro/maincontrols.cpp') diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp index 9ec30fe..0c520ae 100644 --- a/ldmicro/maincontrols.cpp +++ b/ldmicro/maincontrols.cpp @@ -551,6 +551,7 @@ void MakeMainWindowControls(void) QSize DWSize; WM_SCROLL scrollbar = new QScrollArea(); scrollbar->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); + scrollbar->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); scrollbar->setFocusPolicy(Qt::NoFocus); DWSize.setHeight(MainWindow->height() - IoListHeight); DWSize.setWidth(MainWindow->width()); -- cgit