How to change tooltip position in AppDesigner?

5 ビュー (過去 30 日間)
Luna
Luna 2019 年 9 月 25 日
コメント済み: Omar 2022 年 12 月 13 日
Hello dear community,
I have created a GUI in appdesigner. I created a checkbox with a label text and a button right side of the check box. I have created a tooltip string for checkbox and whenever user holds the mouse arrow over checkbox or its label my tooltip string shows up. That works perfectly.
The problem is that: The tooltip string box comes just right side of the check box which prevents to see my button I have created and I want to change the position of the tooltip string. It can be above or below the check box or left side of it. But I couldn't find anything related to the tooltip position.
Do we have any property for that? Or any java object property, etc?
Thanks very much!
  2 件のコメント
Ricardo Krause
Ricardo Krause 2020 年 5 月 4 日
+1 for this feature request
Omar
Omar 2022 年 12 月 13 日
@Luna How did you create the tooltip string for the checkbox on App Designer ? Did you implement it in the Callback function of the checkbox? I am trying to create a similar effect but with edit field instead of a checkbox.

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

回答 (1 件)

Amanda Irving
Amanda Irving 2020 年 11 月 24 日
In MATLAB R2020b the tooltip shows up closer to where the mouse cursor is hovering.
Ideally, this will help prevent the case where neighboring components are hidden because of a tooltip.
b = uibutton;
b.Tooltip = 'tooltip';

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by