Stops pretending that we can dynamically control the UI.
authorSalvatore Iovene <salvatore.iovene@intel.com>
Fri, 9 Nov 2012 09:49:11 +0000 (11:49 +0200)
committerSalvatore Iovene <salvatore.iovene@intel.com>
Fri, 9 Nov 2012 09:49:11 +0000 (11:49 +0200)
commit5de5e76f67b439a980ae3e4a0a32619240a22b19
tree7d108e4c09c688e0a486ef7d7b64914108200675
parentdd968866a3dceb7018d1c97725099d43c9a0f2f1
Stops pretending that we can dynamically control the UI.

A UI framework should never try to outsmart the user. Forcing font sizes
and widget width is only going to annoy people and can easily be
circumvented. The proper way to ensure that apps follow certain constraints
is by providing:

 1. Good documentation
 2. Good error messages
 3. Quality assurance

Changing things at runtime like we were doing before this patch simply
is a solution looking for a problem.
src/javascripts/cowhide-button.js
src/javascripts/cowhide-core.js
src/javascripts/cowhide-widget.js