matlab 2018b property inspector font size chnage

조회 수: 7 (최근 30일)
Megha
Megha 2018년 12월 29일
답변: Alok Nimrani 2019년 1월 2일
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)

답변 (1개)

Alok Nimrani
Alok Nimrani 2019년 1월 2일
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!

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by