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.
This commit is contained in:
gambas 2018-04-06 00:18:59 +02:00
parent 3ffa6b48b7
commit cb9f245c3d

View file

@ -1418,7 +1418,7 @@ END_PROPERTY
static QWidget *get_color_widget(CWIDGET *_object)
{
if (qobject_cast<MyScrollView *>(WIDGET))
return ((CSCROLLVIEW *)THIS)->container;
return WIDGET; //((CSCROLLVIEW *)THIS)->container;
QWidget *view = get_viewport(WIDGET);
if (view)