Skip to content

Commit

Permalink
add align option to ComboBox, phetsims/sun#419
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Malley <[email protected]>
  • Loading branch information
pixelzoom committed Nov 27, 2018
1 parent f01efb2 commit c48027c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/common/view/CollisionCounterNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ define( require => {
// Combo box
const comboBox = new ComboBox( comboBoxItems, collisionCounter.averagingTimeProperty, comboBoxListParent, {
listPosition: 'below',
align: 'right',
buttonXMargin: 5,
buttonYMargin: 2,
buttonCornerRadius: 5,
Expand Down
1 change: 1 addition & 0 deletions js/common/view/PressureComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ define( require => {
constructor( pressureGauge, listParent, options ) {

options = _.extend( {
align: 'right',
buttonXMargin: 5,
buttonYMargin: 2,
buttonCornerRadius: 5,
Expand Down
1 change: 1 addition & 0 deletions js/common/view/TemperatureComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ define( require => {
constructor( thermometer, listParent, options ) {

options = _.extend( {
align: 'right',
buttonXMargin: 5,
buttonYMargin: 2,
buttonCornerRadius: 5,
Expand Down

0 comments on commit c48027c

Please sign in to comment.