Changing the number of visible lines...

User 2699991 Photo


Registered User
5,374 posts
Online Now

I'm trying to find where in Site Designer that I can control the number of lines that are displayed for a List Box.

Thanks,
Eldon
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2699991 Photo


Registered User
5,374 posts
Online Now

Its A Kind Of Bali Magic wrote:
Eldon Zacek wrote:
Yes, that will let you add more rows but it only displays four lines out of N lines you have added. There is a "Size" option that lets you increase the number of rows. This is the parameter that I am looking for.

Thanks,
Eldon


size ????? you have lost me with that one then


I only added 1 row from the default number of 3 you can keep adding rows in the list bod ad infinitum

If you have more lines that go below, the box then use the height option for that box in the styles panel in pixels until you have all the options displayed
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2699991 Photo


Registered User
5,374 posts
Online Now

Another Silent Movie On The Way
https://youtu.be/j1oNRBgUh0Q

Perhaps another 10 mins
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2886627 Photo


Registered User
10 posts

That is one approach that I had not tried. According to ChatGPT, there is suppose to a "Size" parameter for ta List Box:
<select class="listbox-10-lines" size="10">
<option>Item 1</option>
<option>Item 2</option>
...
</select>

Thoughts?

Thanks,
Eldon
User 2699991 Photo


Registered User
5,374 posts
Online Now

Eldon Zacek wrote:
That is one approach that I had not tried. According to ChatGPT, there is suppose to a "Size" parameter for ta List Box:
<select class="listbox-10-lines" size="10">
<option>Item 1</option>
<option>Item 2</option>
...
</select>

Thoughts?

Thanks,
Eldon

That's what ChatGPT thinks
site designer doesn't think like that,

https://youtu.be/0esn4M9ZX2U
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2699991 Photo


Registered User
5,374 posts
Online Now

https://youtu.be/0esn4M9ZX2U
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2886627 Photo


Registered User
10 posts

Thanks, that is the reason that I asked. I was wondering if there was a way to access some of the parameters that exists but are not directly accessible via the Site Designer GUI.

Your Height work around appears to be the best approach.

Take care,
Eldon
User 2699991 Photo


Registered User
5,374 posts
Online Now

Thanks, that is the reason that I asked. I was wondering if there was a way to access some of the parameters that exists but are not directly accessible via the Site Designer GUI.

Site Designer is sort of a specialized WYSIWYG(in cases like this it's actually a (IYCSITYCDIT :D ) thingy, you can only access those sort of parameters once exported, then of course the problem occurs that if you make any changes to those parameters outside of Site Designer, then any further exporting of the project will over-ride the edited parameters you did previously. Sort of defeats the object of using site designer for a project, stick to a good old HTML editor,

Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 379556 Photo


Registered User
1,601 posts

Perhaps one could get the best of both worlds by doing the hand coding of just this element in a SD HTML Element. I agree, however, that the easiest way is adjusting the height of the SD List Box element.

Frank
User 379556 Photo


Registered User
1,601 posts

The attached shows how quick and easy the use of the HTML Element is for this, and it works both on the SD canvas and in browsers.

Frank
Attachments:

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.