XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently March 28th, 2024, 1:20 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: June 4th, 2016, 6:56 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Colour changes in code do not apply.

Created two edit fields, then changed the colour in code.

edit1sensor1.Background.Color=(0,0,0,255);
edit2sensor1.Background.Color=(0,0,0,255);

The changes then occur but the colour is very wrong, always changes to grey regardless of the colour you choose.

BUG.


Last edited by yereverluvinuncleber on June 5th, 2016, 12:05 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: June 4th, 2016, 10:11 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268
Try
edit1sensor1.Background.Color= rgba(0,0,0,255);
seem to work for me.


Top
 Profile  
 
PostPosted: June 5th, 2016, 7:04 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
In win10 I only receive one colour, try changing the colour and see what happens.


Top
 Profile  
 
PostPosted: June 5th, 2016, 11:37 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
A reboot and it is working for me now, not sure why, no changes. Testing now.

Thanks for the help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group