The graphic for the "grippie" is both a bit misleading and a bit high. Misleading because the current graphic suggests it's possible to resize the textarea horizontally, which it isn't.

Here's an attempt to make it less obtrusive and more "correct". New grippie.png (/misc/) attached and below is the relevant style for system.css (/modules/system/).

A demo can be seen at http://perifer.se/textbar-drupal5/, there's also a "before and after"-screenshot attached.

System.css at line 283:

.resizable-textarea .grippie {
  height: 5px;
  font-size: 0;
  background: #eee url(../../misc/grippie.png) no-repeat 50% 1px;
  border: 1px solid #ddd;
  border-top-width: 0;
  cursor: s-resize;
}

Comments

anders.fajerson’s picture

StatusFileSize
new225 bytes

New grippe.png attached.

anders.fajerson’s picture

Category: task » feature
Status: Active » Needs review
StatusFileSize
new679 bytes

...and a patch

profix898’s picture

Status: Needs review » Reviewed & tested by the community

Really nice! This is a small, but very appealing improvement :) Thanks.

@fajerstarter: The 'texbar' you use on your demo site looks like an improved version of 'quicktags' module, right? Are your changes documented (or patch and new icons available) anywhere? Or did you write a new module 'textbar' yourself?

Frando’s picture

Version: x.y.z » 5.x-dev
dvessel’s picture

Looks nice but it's definitely too thin. The horizontal 'grips' better signifies the direction the text field can be dragged.

ChrisKennedy’s picture

Category: feature » bug
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new684 bytes

It's a simple usability issue to change the grippie from a corner image to a horizontal one. The correct height that is both accessible and stylish is a matter of opinion, but this patch makes the size 10px rather than the original 14px or the modified 5px. A 2px larger grippie image will follow.

ChrisKennedy’s picture

StatusFileSize
new162 bytes

Here is a 2px larger grippie with one additional bar to better fill the 10px vertical space.

webchick’s picture

Title: Thinner "grippie" for the resizable textarea » Horizontal "grippie" for the resizable textarea

Changing title; this is less a cosmetic issue and more an issue that the textarea doesn't drag in the direction indicated by the current graphic.

profix898’s picture

StatusFileSize
new742 bytes

The later version with '3 line' grippie and 10px looks asymetrical (and a bit too large) and that's not nice IMO. Take the same grippie but use a height of 8px is much better. See screenshot for comparison.

ChrisKennedy’s picture

Good call - 8px height does look better.

ChrisKennedy’s picture

StatusFileSize
new682 bytes

Oops, I forgot to attach the updated patch.

Steven’s picture

Status: Needs review » Fixed

Both 8px and 10px are asymmetrical, as we need to center a 5px tall image inside. I changed it to 9px, which leaves 2px on each side of the image.

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)
ChrisKennedy’s picture

Status: Closed (fixed) » Reviewed & tested by the community
StatusFileSize
new676 bytes

The vertical centering is broken in IE6 and looks quite bad. Attached patch reverts to 2px vertical offset.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Thanks a bundle. Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)