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 #32060 is a reply to message #32049] Tue, 19 April 2011 19:06 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
kohait00 wrote on Tue, 19 April 2011 04:28

yes i know that the stuff is manipulatable as well. but...

it's got to do with code consistency..user comes the way to use an arbitrary Ctrl and knows, 'i want to customize appearance -> i look for the Style', instead of skimming the code to find appropriate methods.

upp code is very user friendly, but there are still things that can be 'standardized' to be more predictable. which is a feature of good design concepts as well.

like i said, i dont want upp to go 'my way'. i simply emphasize what could be changed to improve user experience. (of corse i came across this issues while coding my self, so it's my user experience).



Well, my take on chameleon is that widgets should derive as much of their appearance from existing information in the system. Only if this is not possible, it is time to use Style.

I believe that ArrayCtrl or LineEdit are examples of widgets where the full information about appearance can be derived from such public information.

(But keep poking me, I still might reconsider this - but breaking existing code is a big no-no here...)
 
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: Mon Jul 14 23:45:46 CEST 2025

Total time taken to generate the page: 0.04078 seconds