NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: jari@softmade.fi on May 25, 2014, 08:50:43 PM

Title: Slider / entry field
Post by: jari@softmade.fi on May 25, 2014, 08:50:43 PM
Now entry field is too wide.
I can change lenght of slider but where can I change the width of the field ?

Regards Jari
Title: Re: Slider / entry field
Post by: Bruce on May 26, 2014, 02:06:00 AM
The setting is exposed for a "string" but not exposed for a slider. I've tweaked 8.13 so you can set it for a slider.

Work-around: It remembers the setting for a string. So change the field to be a string, on the String tab set the "Width (chars)" setting - and then change the field back to a slider.

cheers
Bruce
Title: Re: Slider / entry field
Post by: JPMacDonald on May 26, 2014, 04:42:14 PM
Hi Bruce,

While you are in there tweaking that could you expose it for spinners as well. I've been using custom CSS to shrink their size down but it would be nice to have it in the template as well.

Regards

Parker
Title: Re: Slider / entry field
Post by: jari@softmade.fi on May 27, 2014, 03:02:24 AM
Thanks again Bruce

Next question:  how do I get them side by side ?

Jari
Title: Re: Slider / entry field
Post by: Bruce on May 28, 2014, 12:40:08 AM
>> While you are in there tweaking that could you expose it for spinners as well.

done

>> Next question:  how do I get them side by side ?

I have added a CSS setting so you can add a CSS class to the Slider part of the control. that's in 8.13. Once you have that on the CSS tab for this field set the Entry Class and Slider Class to both be

' nt-left'

(note the leading space - it's important.)

cheers
Bruce
Title: Re: Slider / entry field
Post by: jari@softmade.fi on May 28, 2014, 01:47:58 AM
 ;D Thanks