Value text in control pages doesn't wrap.

Posted on
Sat Dec 15, 2007 6:47 pm
bobeast offline
User avatar
Posts: 400
Joined: Apr 16, 2003

Value text in control pages doesn't wrap.

Hi Matt,

I'm putting together a control page to display weather station info on my iPhone. Unfortunately, it appears that Display Variable Value does not wrap text. So if my variable value contains a long string, there does not appear to be a way to increase the vertical size of the <<value>> field and have the text wrap.

I'm trying to use the Control Page editor to set up my iPhone pages which necessitates the use of large fonts, so wrapping string support would really add a lot of flexibility.

Is there a way?
Bob E.

Choose to chance the rapids.
Dare to dance the tide.

Posted on
Mon Dec 17, 2007 7:04 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Value text in control pages doesn't wrap.

Hi Bob,

Inside the IndigoWebServer, you can try editing the CSS file for this element:

Code: Select all
.pageElement .controlValue {
   overflow: hidden;
   white-space: nowrap;
}

so that it allows wrapping. It may not be quite that easy, of course. But that is where I would start. The HTML template file of interest would be _pageelem.html in case you need to edit that.

Regards,
Matt

Posted on
Mon Dec 17, 2007 7:22 pm
bobeast offline
User avatar
Posts: 400
Joined: Apr 16, 2003

Re: Value text in control pages doesn't wrap.

support wrote:
Hi Bob,

Inside the IndigoWebServer, you can try editing the CSS file for this element:

Code: Select all
.pageElement .controlValue {
   overflow: hidden;
   white-space: nowrap;
}

so that it allows wrapping. It may not be quite that easy, of course. But that is where I would start. The HTML template file of interest would be _pageelem.html in case you need to edit that.

Regards,
Matt


Thanks Matt. I'll give this a try.

Choose to chance the rapids.
Dare to dance the tide.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron