Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » TextCtrl (aka LineEdit,DocEdit) dont use global Style
Re: TextCtrl (aka LineEdit,DocEdit) dont use global Style [message #30370 is a reply to message #30369] Sun, 26 December 2010 16:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
kohait00 wrote on Sun, 26 December 2010 06:17

i agree with that, style is not always needed that custom. and to separate 'chamelionized' and 'styleable' is a good thing..

in case of TextCtrl:

currently, an instantiated TextCtrl is getting it's Colors in the constructor, and *after* that, there is no way to change them again. with Style this is possible. and it looks a bit weired when everything changes in colors (editing global colors) but this one doesnt.

i'll provide a testcase..


That is known deficience in U++. You need to restart the app to match it to changed host theme. Applies to 'Styled' widgets as well.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FEATURE] WhenLostFocus in EditField
Next Topic: Masking the password field in the login page
Goto Forum:
  


Current Time: Tue Jul 08 02:07:09 CEST 2025

Total time taken to generate the page: 0.03884 seconds