A method and apparatus align an adjuster with an edge of media supported by a tray. The adjuster is operably coupled to a gauge that moves in response to movement of the adjuster. A sensor senses the gauge to detect a dimension of the media while the media is supported by the tray.