Text been cut off in dark mode

Having trouble installing Oxygen? Got a bug to report? Post it all here.
yuanyuan_li
Posts: 2
Joined: Wed Oct 30, 2024 12:22 am

Text been cut off in dark mode

Post by yuanyuan_li »

Hi I have a plugin which uses JAVA Swing and it has a JComboBox in a JPanel. The text is displayed ok in Light mode. But if I changed to Graphite theme, the last closing bracket was cut off.

I am on Oxygen version 26. Any ideas why this would happen in dark mode?
image.png
image.png
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Text been cut off in dark mode

Post by Radu »

Hi,
I do not know why the combo box cuts the value when Oxygen runs in dark mode. When creating the combo box could you use our "ro.sync.exml.workspace.api.standalone.ui.OxygenUIComponentsFactory.createComboBox(ComboBoxModel)" API? Maybe it will look and behave more like an Oxygen combo box.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply