App designer hover and clicked elements change background ground color

Hi all,I am using the Matlab app designer and want to change the hover and clicked background color of elements such as in the drop-down menu and listbox.Do you have an idea how to change that? Thanks for your help! Ingo

Answers (1)

Hi Ingo Hermann,
It is my understanding that you want to change the element’s background colour when it is hovered or clicked. To achieve this, you can create your custom element using the “HTML” component present in the Component Library in the App Designer. The “HTML” component uses the “uihtml” function.
You can refer to the following documentation to know more about the function:
Best regards,
Abhishek Chakram

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 9 Nov 2021

Answered:

on 13 Oct 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!