diff --git a/src/as/com/threerings/parlor/client/DefaultFlexTableConfigurator.as b/src/as/com/threerings/parlor/client/DefaultFlexTableConfigurator.as index e068a826..feb89d74 100644 --- a/src/as/com/threerings/parlor/client/DefaultFlexTableConfigurator.as +++ b/src/as/com/threerings/parlor/client/DefaultFlexTableConfigurator.as @@ -21,10 +21,16 @@ package com.threerings.parlor.client { +import mx.binding.utils.BindingUtils; + +import mx.containers.Grid; + import mx.controls.CheckBox; import mx.controls.HSlider; import mx.controls.Label; +import com.threerings.flex.GridUtil; + import com.threerings.parlor.data.TableConfig; import com.threerings.parlor.util.ParlorContext; @@ -60,7 +66,9 @@ public class DefaultFlexTableConfigurator extends TableConfigurator _playerSlider.value = desiredPlayers; _playerSlider.minimum = minPlayers; _playerSlider.maximum = maxPlayers; + _playerSlider.liveDragging = true; _playerSlider.snapInterval = 1; + _playerSlider.showDataTip = false; } else { _config.desiredPlayerCount = desiredPlayers; @@ -84,7 +92,15 @@ public class DefaultFlexTableConfigurator extends TableConfigurator // TODO: proper translation var playerLabel :Label = new Label(); playerLabel.text = "Players:"; - gconf.addControl(playerLabel, _playerSlider); + + var countLabel :Label = new Label(); + BindingUtils.bindProperty(countLabel, "text", + _playerSlider, "value"); + + var grid :Grid = new Grid(); + GridUtil.addRow(grid, countLabel, _playerSlider); + + gconf.addControl(playerLabel, grid); } if (_privateCheck != null) {