QT控件edit内容居中显示

ui->edit_word->setAlignment(Qt::AlignHCenter);     //设置edit文字居中显示

猜你喜欢

转载自blog.csdn.net/qq_43581670/article/details/107714643
今日推荐