00052: Edit box needs a better default width

Summary: Edit box needs a better default width
Created: 2004-09-20 07:53
Status: Closed - fixed for 2.0.beta7
Category: Bug
From: Pm
Priority: 4
Version: 2.0.devel5

Description: The default width of the edit box (as distributed) needs to be adjusted to something more workable.

Maybe with a variable allowing to change the default column width in config.php ? Ou un style width:100% ? noe

What is the common resolution you planned the display for ? I ask because if you using 1024x800 the submit-buttons of the editbox won't be displayed without scrolling the browser window. Using a scroll-mouse (I love it) you can't scroll the browser window text outside the textarea when you editing text. Example: you edit the first few lines and then want to save. If the save-button is displayed .i.e. the textarea completely within the display browser-window you simply click the button on the bottom of the browser window (at home at 1280 x 1024 for the pmwiki-site). If the textarea doesn't fit in the browser-window (at office at 1024 x 800) you first have to click outside the textarea, then scroll down, then click the button. Or is it possible to implement accelleration-key for the save- / preview-button ? --KAL

I'm planning to do a percentage-based width rather than assuming any particular absolute display resolution. We could also see about acceleration keys for save/preview, but that should be another PITS entry. :-)

Alas, I don't think that HTML/CSS provide an easy way to do percentage-based heights, only widths. --Pm

Fixed in 2.0.beta7. Also, acceleration keys are available at Cookbook:AccessKeySkin?.