update widget methods to pass only the x value from the widget definition