文章詳情頁
python - Qt designer無法保存ui文件
瀏覽:72日期:2022-09-14 10:24:23
問題描述
用QT designer 編輯ui界面后保存, 彈出 This file contains top level spacers. They will not be saved.Perhaps you forgot to create a layout 提示框! 要怎么處理?
問題解答
回答1:就像
這里說的,不能在top level上放spacer,像下面這樣就會報上面的錯誤spacer只能放在Layout里面,像下面這樣就能正常保存了
相關文章:
排行榜
