From 49dea9bcd28c3311f10b8b417bb8100a48e690b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Thu, 11 Sep 2025 13:57:27 +0200 Subject: [PATCH] Round corners a little more aggressively. Took 6 minutes --- .../src/client/ui/widgets/general/home_styled_button.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/client/ui/widgets/general/home_styled_button.cpp b/cockatrice/src/client/ui/widgets/general/home_styled_button.cpp index 99f74b682..a5a37ec84 100644 --- a/cockatrice/src/client/ui/widgets/general/home_styled_button.cpp +++ b/cockatrice/src/client/ui/widgets/general/home_styled_button.cpp @@ -8,7 +8,7 @@ HomeStyledButton::HomeStyledButton(const QString &text, QPair _g : QPushButton(text, parent), gradientColors(_gradientColors) { setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - setMinimumHeight(100); // or higher if needed + setMinimumHeight(50); setStyleSheet(generateButtonStylesheet(gradientColors)); } @@ -38,7 +38,7 @@ QString HomeStyledButton::generateButtonStylesheet(const QPair & padding: 30px; color: white; border: 2px solid %1; - border-radius: 6px; + border-radius: 20px; background: qlineargradient(x1:0, y1:1, x2:0, y2:0, stop:0 %2, stop:1 %3); }