Hot Door CORE Forum

Full Version: setBold doesnt work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just tried myLabel.setBold (true)
The font stays regular (not bold), though myLabel.bold() changes to true.
Has anyone tried setBold?

UPD Forgot to say, this happens in a panel.
I just tried this with a copy of the Panel sample and it does bold any label on the panel using CORE 0.7.0 and AI 21 on a Mac.

It also works for me under Windows 10, AI 21, VS 2010. The bold text is only slightly heavier than the regular font, so the difference is kind of subtle.

setBold(true) definitely works for labels on both platforms in dialogs.
Thanks for posting Rick. I just tested this and it works for me as well, on CORE 0.7.0 and our latest internal revisions.

Could the OP please check which version of CORE is in use?
Tried with 0.7, VS2010 SP1 at Win7 SP1 64 bit.
This is original panelsample (with "__docPanelNameLabel.setBold(true)", I checked). Compiled as "AI19 Release", version of Adobe Illustrator is 19.2.1.

docPanelNameLabel seems to be regular (not bold).


[Image: mSxfBvWNQ3ayf7Zt0Mf0Mg.jpeg]
I tested the panel sample, as you indicated, and it works here.

It's hard to tell from the low resolution of the screenshot you posted, but I don't think the font for "No current document" is the same as "(No document to save)". This suggests to me that your system has the Tahoma font for non-bold widgets, but does not have the Tahoma Bold font for bold widgets (so the OS is substituting another font automatically).
Garrett, thnx for your response.
Possibly it's my local problem. Gonna test it.