From cb9f245c3da256e05ad4c9d45d4c5c1e8589974c Mon Sep 17 00:00:00 2001 From: gambas Date: Fri, 6 Apr 2018 00:18:59 +0200 Subject: [PATCH] ScrollView: The background and foreground colors are now applied to the entire widget. [GB.QT4] * NEW: ScrollView: The background and foreground colors are now applied to the entire widget. [GB.QT5] * NEW: ScrollView: The background and foreground colors are now applied to the entire widget. --- gb.qt4/src/CWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.qt4/src/CWidget.cpp b/gb.qt4/src/CWidget.cpp index b2a6e8da5..8330d551f 100644 --- a/gb.qt4/src/CWidget.cpp +++ b/gb.qt4/src/CWidget.cpp @@ -1418,7 +1418,7 @@ END_PROPERTY static QWidget *get_color_widget(CWIDGET *_object) { if (qobject_cast(WIDGET)) - return ((CSCROLLVIEW *)THIS)->container; + return WIDGET; //((CSCROLLVIEW *)THIS)->container; QWidget *view = get_viewport(WIDGET); if (view)