setting the background of GUI components to match an image

2 ビュー (過去 30 日間)
shalu vijay
shalu vijay 2019 年 2 月 21 日
コメント済み: shalu vijay 2019 年 2 月 25 日
I'm developing a gui. I have used static text ,edit text, check boxes, panels and push buttons in my GUI. I have set an image as the background of my GUI.
I want to make the background of these components to blend with the image.I tried F = getframe(ax,[10 20 40 30]); set(pb,'cdata',F.cdata). But this is changing only for push button background. I want to blend all components background Anybody Please help me.

回答 (1 件)

ES
ES 2019 年 2 月 21 日
https://in.mathworks.com/matlabcentral/answers/21045-how-to-set-background-image-in-matlab-gui
  1 件のコメント
shalu vijay
shalu vijay 2019 年 2 月 25 日
Sir this is working only to set the background image.But i want to blend my checkbox background and text background same as that of the image.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by