in reply to CGI form element sizing issue

Pad the labels with spaces (and possibly   spaces).

.02

cLive ;-)

Replies are listed 'Best First'.
Re: Re: CGI form element sizing issue
by sulfericacid (Deacon) on Apr 04, 2003 at 06:31 UTC
    Only problem I see with that is if you add spaces to the value to line them up then when you print out the params there will be lots of spaces at the end.

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid
      No, I said the labels - the values are not affected.
      $q->scrolling_list(-name =>'list_name', -values =>['eenie','meenie','minie','moe'], -default=>['eenie','moe'], -size =>1, -labels => { eenie => ' eenie ', meenie => ' meenie ', + minie => ' minie ', mo => ' mo ' } );

      cLive ;-)

        The user asked for a popup_menu enlarger, your's is for a scrolling_list. I actually tried your code under a popup_menu but the size of the line still stays the same. (confusing question you have here, Anonymous Monk)

        "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

        sulfericacid