sizing constraints for qt pref ui