bug 275059

move width of date/timepickers to css
r=mattwillis


git-svn-id: svn://10.0.0.236/trunk@166956 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com
2004-12-22 16:05:09 +00:00
parent 302a709358
commit 213d244ab3
6 changed files with 30 additions and 20 deletions

View File

@@ -96,7 +96,7 @@
node that interferes with navigation to interior nodes.] -->
<content id="content">
<xul:hbox flex="1" id="hbox" class="datepicker-box-class">
<xul:menulist editable="true" sizetopopup="false" style="width:11em"
<xul:menulist editable="true" sizetopopup="false"
id="datepicker-text"
class="datepicker-text-class"
onkeypress="if (event.keyCode == 13) this.kDatePicker.parseTextBoxDate(true);"

View File

@@ -107,7 +107,7 @@
node that interferes with navigation to interior nodes.] -->
<content id="content">
<xul:hbox flex="1" id="hbox" class="timepicker-box-class">
<xul:menulist editable="true" sizetopopup="false" style="width:7em"
<xul:menulist editable="true" sizetopopup="false"
id="timepicker-text"
class="timepicker-text-class"
onkeypress="if (event.keyCode == 13) this.kTimePicker.parseTextBoxTime(true);"

View File

@@ -34,12 +34,19 @@
* ***** END LICENSE BLOCK ***** */
/*--------------------------------------------------------------------
* Date button (modified from skin/eventDialog.css)
* Datepicker (text field with minimonth popup)
*-------------------------------------------------------------------*/
/* flex box around menulist */
.datepicker-box-class {
}
/* menulist */
.datepicker-text-class {
width: 11em;
}
/* text input field */
.datepicker-text-class input {
}

View File

@@ -13,8 +13,7 @@
*
* The Original Code is OEone Calendar Code, released October 31st, 2001.
*
* The Initial Developer of the Original Code is
* OEone Corporation.
* The Initial Developer of the Original Code is OEone Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
@@ -35,20 +34,19 @@
*
* ***** END LICENSE BLOCK ***** */
/*-------------------------------------------------------------------
* Time field and button (modified from skin/eventDialog.css)
* Timepicker (text menulist with popup)
*-------------------------------------------------------------------*/
.timepicker-box-class {
}
.timepicker-text-class {
width: 8em;
}
/*-------------------------------------------------------------------
* popup (from timepicker/timepicker.css
* popup (from timepicker/timepicker.css)
*-------------------------------------------------------------------*/
/* Box that occupies whole window */

View File

@@ -34,12 +34,19 @@
* ***** END LICENSE BLOCK ***** */
/*--------------------------------------------------------------------
* Date field and button (modified from skin/eventDialog.css)
* Datepicker (text field with minimonth popup)
*-------------------------------------------------------------------*/
/* flex box around menulist */
.datepicker-box-class {
}
/* menulist */
.datepicker-text-class {
width:11em;
}
/* text input field */
.datepicker-text-class input {
}

View File

@@ -13,8 +13,7 @@
*
* The Original Code is OEone Calendar Code, released October 31st, 2001.
*
* The Initial Developer of the Original Code is
* OEone Corporation.
* The Initial Developer of the Original Code is OEone Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
@@ -35,20 +34,19 @@
*
* ***** END LICENSE BLOCK ***** */
/*-------------------------------------------------------------------
* Time field and button (modified from skin/eventDialog.css)
* Timepicker (text menulist with popup)
*-------------------------------------------------------------------*/
.timepicker-box-class {
}
.timepicker-text-class {
width: 8em;
}
/*-------------------------------------------------------------------
* popup (from timepicker/timepicker.css
* popup (from timepicker/timepicker.css)
*-------------------------------------------------------------------*/
/* Box that occupies whole window */