此方法用於根據視口高度設置屏幕或小部件的填充/邊距(用於頂部和底部)和高度。
double getVerticalSize(double px) { return ((px * height) / (figmaDesignHeight - figmaDesignStatusBar)).floorToDouble(); }