From 910e88b92778ae78f0444f5c6f6202668c3110f6 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期一, 24 六月 2024 14:33:59 +0800 Subject: [PATCH] fix --- DolphinEnglishLearnStudent/Other/UIView/CommonAlertView.swift | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/DolphinEnglishLearnStudent/Other/UIView/CommonAlertView.swift b/DolphinEnglishLearnStudent/Other/UIView/CommonAlertView.swift index bfdba71..483b6ea 100644 --- a/DolphinEnglishLearnStudent/Other/UIView/CommonAlertView.swift +++ b/DolphinEnglishLearnStudent/Other/UIView/CommonAlertView.swift @@ -27,12 +27,14 @@ let commonAlertView = CommonAlertView.jq_loadNibView() sceneDelegate?.window?.addSubview(commonAlertView) commonAlertView.label_content.text = content + commonAlertView.label_content.numberOfLines = 0 + commonAlertView.label_content.textAlignment = .center commonAlertView.clouse = clouse commonAlertView.frame = sceneDelegate?.window?.frame ?? .zero if isSinple{ commonAlertView.btn_complete.isHidden = true - commonAlertView.cons_btnClose.constant = 219 * Config.RatioW + commonAlertView.cons_btnClose.constant = 219 commonAlertView.btn_close.backgroundColor = Config.ThemeColor commonAlertView.btn_close.jq_borderWidth = 0 commonAlertView.btn_close.setTitleColor(.white, for: .normal) -- Gitblit v1.7.1