RTL layout support

This commit is contained in:
arm64v8a
2023-01-02 08:49:13 +09:00
parent 78bf639b51
commit 98ce9d64df
9 changed files with 73 additions and 5 deletions

View File

@@ -6,6 +6,8 @@
ProxyItem::ProxyItem(QWidget *parent, const QSharedPointer<NekoRay::ProxyEntity> &ent, QListWidgetItem *item)
: QWidget(parent), ui(new Ui::ProxyItem) {
ui->setupUi(this);
this->setLayoutDirection(Qt::LeftToRight);
this->item = item;
this->ent = ent;
if (ent == nullptr) return;