# $BW = Button Width # $BH = Button Height # $aspect = Aspect ratio of sceen ie 1.666 my %BUTTON = ButtonFactory( { }, { -coords => [[-(int $BW/2), 0], [(int $BW/2), $BH]], }, { -coords => [ 0, int ($BH * $aspect ) / 5.5 ], -params => { -font => $H->{bigfont}, } }, );