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?
			
			
						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: 9547
 - Joined: Fri Jul 09, 2004 5:18 pm
 
Re: Text been cut off in dark mode
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
			
			
									
									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
						<oXygen/> XML Editor
http://www.oxygenxml.com
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
 - ↳ Feature Request
 - ↳ Common Problems
 - ↳ DITA (Editing and Publishing DITA Content)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ SDK-API, Frameworks - Document Types
 - ↳ DocBook
 - ↳ TEI
 - ↳ XHTML
 - ↳ Other Issues
 - Oxygen XML Web Author
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Content Fusion
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen JSON Editor
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen PDF Chemistry
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Feedback
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen XML WebHelp
 - ↳ Feature Request
 - ↳ Common Problems
 - XML
 - ↳ General XML Questions
 - ↳ XSLT and FOP
 - ↳ XML Schemas
 - ↳ XQuery
 - NVDL
 - ↳ General NVDL Issues
 - ↳ oNVDL Related Issues
 - XML Services Market
 - ↳ Offer a Service