auto adjusting text areas

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
svasti
Posts: 1660
Joined: Wed Dec 17, 2008 5:08 pm

Re: auto adjusting text areas

Post by svasti » Wed Aug 07, 2013 2:50 pm

cmb wrote:Otherwise we can only roughly estimate the starting size.
I experimented a little bit with the size in different templates and found that 50

Code: Select all

            if (utf8_strlen($opt['val']) < 50) {
                $class .= ' cmsimplecore_settings_short';
            } 
usually works all right. 30 produces a lot of big empty fields (was so in 1.5 also).

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: auto adjusting text areas

Post by cmb » Mon Sep 02, 2013 12:40 pm

I have changed that (r862).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply