set a fixed width for keyboards (not used for actual width) to calculate a scale factor