add set button width method