• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

(copied from TWiki:Support.WebLeftBarBoxesProblem)

Text in both the Jump and the Search boxes in the WebLeftBar loses its descenders such that (for example) j and i look identical. Other boxes are OK as is WebLeftBar if you jump to it as a normal TWiki page. I assume that the skin/CSS for the WebLeftBar must be causing the problem. How can I change this?

Well I've worked out part of the answer. I had my minimum font size set too large and the sidebar text entry boxes are a bit smaller than the default ones in the main Twiki pages.

This fixes the missing descenders but an initial capital J for example (as in the Jump box) still loses a bit of the J off the LHS.

I guess this is as much a browser problem as it is a TWiki problem.

Using Firefox 1.5 on Linux, Slackware 10

-- TWiki:Main.ChrisGreen - 31 Dec 2005

Also a problem when entering underscores, which look like spaces.

Using Firefox 1.0.7 on Windows XP.

Boxes display normally using IE 6.0.2600

-- PTh

I am seeing the same in Firefox 1.5 on Windows XP. I use the normal font size that everyone will be using if they never changed it so I think TWiki should have the style sheet improved so it shows the text properly. Characters j, g, _, p. q, and y are unreadable in the boxes. If you decrease the text 2 levels below normal you can see the text but you cannot in practical read anything so this is not a work around. If you increase the text even normal characters gets cut.

In IE6 the problem is also present. If you increase the text to "larger" (common for people that have old eyes) the same problem is present in IE.

The problem is that the style sheet defines the height to a fixed 12 pts.

in pub/TWiki/PatternSkin/style.css line 610 the box is defined.

.patternLeftBarContents input.patternFormField {
   display:block;
   height:12px; /* with padding and border this adds up to 16px height - same as button */
   width:100%;
   border-width:1px;
   border-style:solid;
   font-size:85%; /*S3*/
   margin:0;
}

Simply delete the height definition. The box seems to be more or less the height of the button next to it in normal font size both in IE and FF on Win XP. And if you increase the font the text box gets higher than the button. Well. I do not see this as a big issue. Userbility of the field is 100 times more important.

KJL

I suspect that a fixed formfield height (12px) with a relative font size (85%) will be problematic if users change the font size.

-- PTh

SVN 8095. Could you check if it is better now?

AC

It is worse. The best I have tried is to remove the height definition.

KJL

New try: remove the height of the input fields. SVN 8097. AC

It works fine in all browser I have tried. Noone else have commented. I close it

KJL

The error was reintroduced with r8168.

@@ -609,6 +621,7 @@
 }
 .patternLeftBarContents input.patternFormField {
    display:block;
+   height:12px; /* with padding and border this adds up to 16px height - same as button */
    width:100%;
    border-width:1px;
    border-style:solid;

Please remove the height definition that was added again.

KJL

Sorry. SVN 8174. -- AC

ItemTemplate
Summary WebLeftBar Boxes Problem (with fix)
ReportedBy PeterThoeny
Codebase

SVN Range Fri, 30 Dec 2005 build 8037
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
WaitingFor

Checkins 8095 8097
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2006-01-08 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback