Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Majano2021-12-02 22:46:58 +0000
committerAlexander Kurtakov2021-12-06 19:18:02 +0000
commitd416b3002f7876ab60ca02b83632406a36760e9f (patch)
treea139a72f481c2fc6f9bb1ca3311fec97789468cb /examples/org.eclipse.swt.examples.views
parent821bb1b66137de6487c31c049b450ae9d6260083 (diff)
downloadeclipse.platform.swt-d416b3002f7876ab60ca02b83632406a36760e9f.tar.gz
eclipse.platform.swt-d416b3002f7876ab60ca02b83632406a36760e9f.tar.xz
eclipse.platform.swt-d416b3002f7876ab60ca02b83632406a36760e9f.zip
Bug 567215 - SWT Combo drop down background not set correctly
menuHandle and popupHandle were not being set in GTK4 which meant that when updateCSS() was trying to set the CSS for menuHandle, nothing was happening.The fix is to map menuHandle to the correct widget which can be done based on the CSS hierachy. Simply find the GtkPopover which is the parent of the drop down menu items then get its child, "contents" which is the parent that needs its background set. One outstanding issue is that popupHandle is not mapped. This is not straightforward to fix due to popupHandle being used for more than just setting CSS properties. It is used to add items and other miscellaneous things, which means it will have be to revisited later. Change-Id: I3eef34623bca21e9074ec7be49830e222c01c7be Signed-off-by: Joel Majano <jmajano@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/188489 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'examples/org.eclipse.swt.examples.views')
0 files changed, 0 insertions, 0 deletions

Back to the top