Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6645 closed task (fixed)

TimeTextBox: make default narrower

Reported by: bill Owned by: nathan
Priority: high Milestone: 1.2
Component: Dijit - LnF Version: 1.1.0
Keywords: ibm Cc:
Blocked By: Blocking:

Description

I guess the suggestion here is to make the default width of a TimeTextBox? narrower by 25-30px; only needs to be wide enough to hold the text of the time (although that may vary a little bit by locale, and also by browser font-size, so should be specified in em).

Taken from IBM Design Leadership recommendations.

Change History (4)

comment:1 Changed 11 years ago by bill

PS: noticed the test_TimeTextBox.html defines a custom width for the text boxes which may be the problem (or part of it). That should be removed.

comment:1 Changed 11 years ago by nathan

Status: newassigned

comment:3 Changed 11 years ago by Nathan Toone

Resolution: fixed
Status: assignedclosed

(In [13463]) fixes #6645: updated test cases to not have custom "medium" class set - and modified dijit.form._DateTimeTextBox to allow for an optional "additionalClass" - which DateTextBox? and TimeTextBox? define for custom styling. Also added the custom styling for TimeTextBox? (.dijitTimeTextBox) !strict

comment:4 Changed 11 years ago by Nathan Toone

(In [13489]) refs #6645: remove additionalClass and instead, support splitting the baseClass on a space. !strict

Note: See TracTickets for help on using tickets.