Need a help with Oxygen Editor applying global tooltip font and color defind in plugin

Post here questions and problems related to oXygen frameworks/document types.
vishwavaranasi
Posts: 153
Joined: Fri Feb 28, 2020 4:02 pm

Need a help with Oxygen Editor applying global tooltip font and color defind in plugin

Post by vishwavaranasi »

Hello Team ,
We have a oxygen plugin and where we have implemented a lookandfeel and set some global styles for different swing components.
UIManager.put("ToolTip.background", "some color");
UIManager.put("ToolTip.font", new somestyle(););
UIManager.put("ToolTip.border", BorderFactory.createEmptyBorder());
these changes also affecting the DITA maps manger in oxygen editor when we open the plugin as shown below - see the color and font applied
image.png
image.png (7.15 KiB) Viewed 289 times
is there any settings that oxygen can ignore these ?


Thanks,
vishwa
Thanks,
vishwa
Radu
Posts: 9213
Joined: Fri Jul 09, 2004 5:18 pm

Re: Need a help with Oxygen Editor applying global tooltip font and color defind in plugin

Post by Radu »

Hi Vishwa,
It's natural that Oxygen's UI components obey colors set in the UIManager. There is no setting in Oxygen to control that, ideally you should set your own keys in the UIManager and thus you will stop influencing the entire application.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
vishwavaranasi
Posts: 153
Joined: Fri Feb 28, 2020 4:02 pm

Re: Need a help with Oxygen Editor applying global tooltip font and color defind in plugin

Post by vishwavaranasi »

Ok Thanks Radu , we will find the ways.
Thanks,
vishwa
Post Reply