|
Lines 128-134
Link Here
|
| 128 |
this._spinner.setMax( 12 ); |
128 |
this._spinner.setMax( 12 ); |
| 129 |
this._spinner.setValue( this._monthInt ); |
129 |
this._spinner.setValue( this._monthInt ); |
| 130 |
this._spinner.addEventListener( "change", this._onSpinnerChange, this ); |
130 |
this._spinner.addEventListener( "change", this._onSpinnerChange, this ); |
| 131 |
this._spinner._textfield.setTabIndex( -1 ); |
131 |
this._spinner._textfield.setTabIndex( null ); |
| 132 |
// Hack to prevent the spinner text field to request the focus |
132 |
// Hack to prevent the spinner text field to request the focus |
| 133 |
this._spinner._textfield.setFocused = function() {}; |
133 |
this._spinner._textfield.setFocused = function() {}; |
| 134 |
// Solution for Bug 284021 |
134 |
// Solution for Bug 284021 |
|
Lines 155-161
Link Here
|
| 155 |
this.addEventListener( "mouseout", this._onMouseOut, this ); |
155 |
this.addEventListener( "mouseout", this._onMouseOut, this ); |
| 156 |
this._dropDownButton = new qx.ui.form.Button(); |
156 |
this._dropDownButton = new qx.ui.form.Button(); |
| 157 |
this._dropDownButton.setAppearance( "datetime-drop-down-button" ); |
157 |
this._dropDownButton.setAppearance( "datetime-drop-down-button" ); |
| 158 |
this._dropDownButton.setTabIndex( -1 ); |
158 |
this._dropDownButton.setTabIndex( null ); |
| 159 |
this._dropDownButton.setAllowStretchY( true ); |
159 |
this._dropDownButton.setAllowStretchY( true ); |
| 160 |
this.add( this._dropDownButton ); |
160 |
this.add( this._dropDownButton ); |
| 161 |
// Get names of weekdays and months |
161 |
// Get names of weekdays and months |
|
Lines 164-170
Link Here
|
| 164 |
this._calendar = new org.eclipse.swt.widgets.Calendar(); |
164 |
this._calendar = new org.eclipse.swt.widgets.Calendar(); |
| 165 |
this._calendar.setAppearance( "datetime-drop-down-calendar" ); |
165 |
this._calendar.setAppearance( "datetime-drop-down-calendar" ); |
| 166 |
this._calendar.setDate( new Date( 70, 0, 1 ) ); |
166 |
this._calendar.setDate( new Date( 70, 0, 1 ) ); |
| 167 |
this._calendar.setTabIndex( -1 ); |
167 |
this._calendar.setTabIndex( null ); |
| 168 |
this._calendar.setVisibility( false ); |
168 |
this._calendar.setVisibility( false ); |
| 169 |
// TODO: [if] Calendar buttons tooltips have wrong z-index |
169 |
// TODO: [if] Calendar buttons tooltips have wrong z-index |
| 170 |
// Remove tooltips for now. |
170 |
// Remove tooltips for now. |