Ticket #6475 (closed task: fixed)

Opened 3 months ago

Last modified 4 weeks ago

Tree: folder icons too low

Reported by: bill Owned by: bill
Priority: normal Milestone: 1.2
Component: Dijit - LnF Version: 1.1.0
Severity: normal Keywords: ibm
Cc:

Description

The folder icons are too low, relative to the expando (+/-) icons.

Taken from IBM Design Leadership recommendations.

Attachments

tree.png (6.1 kB) - added by bill 3 months ago.
6475_tree_themes_20080505.patch (1.5 kB) - added by sfoster 3 months ago.
[PATCH] [CLA] change to .dijitTreeExpando definition for tundra, soria, nihilo - from dijit/themes

Change History

Changed 3 months ago by bill

Changed 3 months ago by sfoster

  • owner changed from bill to sfoster

Changed 3 months ago by sfoster

[PATCH] [CLA] change to .dijitTreeExpando definition for tundra, soria, nihilo - from dijit/themes

Changed 3 months ago by sfoster

  • status changed from new to assigned

6475_tree_themes_20080505.patch uses position and negative top margin to position the expando icon at the middle of the line-box whatever the font scale. IE just gets nudged with top: 2px as it doesnt have real inline-box, so it all lays out differently.

Note this patch doesnt touch the images - it might make the css less quirky, and those icons more re-usable if they didnt have the top "padding" embedded in them - and css is used to position. But.. it may be late in the day for that - people are no doubt using those images outside of this context already.

Tested: FF2, Safari 3.1, IE6, IE7 In FF3 (windows) it looks like the expando could be nudged 1px less (-6px vs. -7px) but I'm not attempting to workaround at this point.

Changed 2 months ago by bill

Talked to sfoster about this on IRC. I'd like you (sfoster) to:

  • Remove the built-in padding inside the image files. It's a holdover from when the vertical line connecting together sibling elements was part of the expando icon image, and seems like it's better to bite the bullet and remove it.
  • Try to get IE to have inline-block formatting for the expando. Otherwise it's aligned at baseline and if the label gets too large (imagine a 100px high label), the expando will be too low.
  • agreed that middle of plus sign (the horizontal line) should align w/middle of text and middle of folder icon.

Changed 4 weeks ago by bill

  • owner changed from sfoster to bill
  • status changed from assigned to new

Changed 4 weeks ago by bill

Fixed by [14104]

Changed 4 weeks ago by bill

  • status changed from new to closed
  • resolution set to fixed

Changed 4 weeks ago by bill

(In [14107]) add alt="" for a11y reasons (so screenreader skips the images). refs #6475.

Note: See TracTickets for help on using tickets.