aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/qquickmaterialtheme_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-19 13:19:40 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-19 18:34:57 +0000
commit20b60be518f05611fb11a98b57e73f6bb6c8b46e (patch)
treebaf1c73681dd290138af501fb73cd673364fc0be /src/imports/controls/material/qquickmaterialtheme_p.h
parentda3bf2a7c16763c21b1bc127382130f8eee92cd0 (diff)
Popup: use available size and paddings from the popup item
Now that the internal popup item inherits Control, which already provides these features, we may use them directly instead of re-doing them in Popup. NOTE: QQuickMenu code has lots of direct references to the content item, which used to be stored in QQuickPopupPrivate, which is the base class of QQuickMenuPrivate. Now that the content item is stored by QQuickPopupItem instead, the direct references don't work. Thus, as a temporary solution to avoid this patch growing large, we'll store the content item in QQuickMenuPrivate. Change-Id: I80a16d34432131a4326c1b6ae54419470be53f96 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/material/qquickmaterialtheme_p.h')
0 files changed, 0 insertions, 0 deletions