Skip to content

Commit 5cb4f9d

Browse files
committed
ui update
1 parent 80020d4 commit 5cb4f9d

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/mainwindow.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ MainWindow::MainWindow(QWidget* parent)
111111
{
112112
setWindowTitle("Steam Lua Patcher");
113113
setMinimumSize(900, 600);
114-
resize(900, 600);
114+
resize(1350, 820);
115115
setAcceptDrops(true);
116116

117117
// ── Enable Transparency for Desktop Blur ──
@@ -539,10 +539,9 @@ void MainWindow::initUI() {
539539
m_topProfileWidget = new QWidget();
540540
m_topProfileWidget->setFixedHeight(56);
541541
m_topProfileWidget->setMinimumWidth(160);
542-
m_topProfileWidget->setStyleSheet(QString(
543-
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 %1, stop:1 %2);"
544-
"border-radius: 16px; border: 1px solid rgba(255, 255, 255, 30);"
545-
).arg("rgba(208, 188, 255, 30)").arg("rgba(208, 188, 255, 5)"));
542+
m_topProfileWidget->setStyleSheet(
543+
"background: transparent; border: none; border-radius: 16px;"
544+
);
546545
QHBoxLayout* profileLayout = new QHBoxLayout(m_topProfileWidget);
547546
profileLayout->setContentsMargins(12, 0, 16, 0);
548547
profileLayout->setSpacing(10);
@@ -628,7 +627,7 @@ void MainWindow::initUI() {
628627
m_heroStack->setMaximumWidth(1200); // Increased width to fit window more completely
629628
m_heroStack->setStyleSheet("background: transparent; border: none; border-radius: 12px;");
630629

631-
m_mainScrollLayout->addWidget(m_leadingTitlesLabel, 0, Qt::AlignHCenter);
630+
m_mainScrollLayout->addWidget(m_leadingTitlesLabel, 0, Qt::AlignLeft);
632631
m_mainScrollLayout->addWidget(m_heroStack, 0, Qt::AlignHCenter);
633632

634633
// We can fade crossfade manually, but QStackedWidget doesn't officially animate between indices out-of-the-box.

0 commit comments

Comments
 (0)