QtPYVcp - Modify GcodeEditor Colors
- Donb9261
- 
				 Topic Author Topic Author
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 165
- Thank you received: 102
			
	
						26 Nov 2019 18:18				#151308
		by Donb9261
	
	
		
			
	
			
			 		
													
	
				QtPYVcp - Modify GcodeEditor Colors was created by Donb9261			
			
				Hello,
Does anyone know how to change the colors of the GcodeEditor?
Background?
Margin?
Text?
etc...?
I have tried via QT but any changes are reverted on GUI load.
					Does anyone know how to change the colors of the GcodeEditor?
Background?
Margin?
Text?
etc...?
I have tried via QT but any changes are reverted on GUI load.
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 592
- Thank you received: 79
			
	
						26 Nov 2019 19:49				#151313
		by Leon82
	
	
		
			
	
			
			 		
													
	
				Replied by Leon82 on topic QtPYVcp - Modify GcodeEditor Colors			
			
				Right click and edit stylesheet.
If it is in a box or window they has style sheet colors set it may override it as well
					If it is in a box or window they has style sheet colors set it may override it as well
Please Log in or Create an account to join the conversation.
- Donb9261
- 
				 Topic Author Topic Author
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 165
- Thank you received: 102
			
	
						27 Nov 2019 15:19				#151354
		by Donb9261
	
	
		
			
	
			
			 		
													
	
				Replied by Donb9261 on topic QtPYVcp - Modify GcodeEditor Colors			
			
				I can get the background colors but cannot modify the highlighting, text colors, etc. With a dark background it makes reading the text a challenge. Not to mention the text size is too small.
From some reading it appears QsciScintilla is the editor itself but I cannot find a file that acts as the settings file nor any docs showing what parameters are available. In QtPyVCP there are 2 params... backgroundcolor and marginbackgroundcolor.
It would be nice to have some specifics on how to add additional params to the widget so that one could truly customize the look.
Thanks for the response. If I come up with a solution, I will share it.
screenshot attached of what I am talking about.
					From some reading it appears QsciScintilla is the editor itself but I cannot find a file that acts as the settings file nor any docs showing what parameters are available. In QtPyVCP there are 2 params... backgroundcolor and marginbackgroundcolor.
It would be nice to have some specifics on how to add additional params to the widget so that one could truly customize the look.
Thanks for the response. If I come up with a solution, I will share it.
screenshot attached of what I am talking about.
Please Log in or Create an account to join the conversation.
- tommylight
- 
				  
- Online
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 20842
- Thank you received: 7106
			
	
						27 Nov 2019 16:00				#151356
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic QtPYVcp - Modify GcodeEditor Colors			
			
					
		The following user(s) said Thank You: Donb9261 	
			Please Log in or Create an account to join the conversation.
		Moderators: KCJ, Lcvette	
		Time to create page: 0.176 seconds	
 
													