matlab 2018b property inspector font size chnage

7 visualizzazioni (ultimi 30 giorni)
Megha
Megha il 29 Dic 2018
Risposto: Alok Nimrani il 2 Gen 2019
I am really disappointed with Worst ever MATLAB 2018b!
Is there any way to increase the font size of the Tool Tip String in "Property Inspector"..?
Normally fontsize is changed from Home/Preferences/Font..
but this does not chnage fontsize of Tool Tip String in "Property Inspector".
It is really difiifcult to read the dilaog box with hardly a fontsize of 1...:/
MATLAB Version: 9.5.0.944444 (R2018b)

Risposte (1)

Alok Nimrani
Alok Nimrani il 2 Gen 2019
Hi Megha,
The font size of the Tool Tip string within the Property Inspector is related to the operating system settings and hence there is not much control on them. Please have a look at the following MATLAB Answers for more information: https://www.mathworks.com/matlabcentral/answers/225624-can-i-change-the-font-size-of-the-toopltipstring-in-property-inspector-gui
However, if your goal is to increase the font size of the tool-tip string for some UI object within a figure, you can use HTML as the string value to modify the tool-tip appearance. As an example, the font size and color of tool-tip string for a pushbutton can be modified as follows:
>> str = ['<html><center><b><font color="red" size="20"> HELLO']; %HELLO is the text message to display
>> set(pushbuttonObject, 'tooltipString', str);
Hope this helps.
Cheers!

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by