Skip to content

Commit add4c95

Browse files
committed
even more round
1 parent a31c9c8 commit add4c95

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/mainwindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6732,7 +6732,7 @@ void MainWindow::updateLayoutSwitcher()
67326732
button->setDefaultAction(ui->actionLayoutPlayer);
67336733
layoutGrid->addWidget(button, 1, 2, Qt::AlignCenter);
67346734
layoutSwitcher->setStyleSheet(
6735-
"QToolButton { border-radius: 4px; }"
6735+
"QToolButton { border-radius: 12px; }"
67366736
"QToolButton:checked { background-color: palette(highlight);"
67376737
" color: palette(highlighted-text); }");
67386738
}
@@ -6757,7 +6757,7 @@ void MainWindow::updateLayoutSwitcher()
67576757
ui->mainToolBar->insertAction(ui->dummyAction, ui->actionLayoutPlayer);
67586758
}
67596759
const QString layoutBtnStyle = QStringLiteral(
6760-
"QToolButton { border-radius: 4px; }"
6760+
"QToolButton { border-radius: 12px; }"
67616761
"QToolButton:checked { background-color: palette(highlight);"
67626762
" color: palette(highlighted-text); }");
67636763
const QList<QAction *> layoutActions{ui->actionLayoutLogging,

src/qml/views/filter/filterview.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Rectangle {
112112

113113
color: activePalette.highlight
114114
visible: attachedfiltersmodel.producerTitle != ""
115-
radius: 4
115+
radius: 12
116116

117117
anchors {
118118
top: parent.top
@@ -133,7 +133,7 @@ Rectangle {
133133
color: activePalette.highlightedText
134134
font.bold: true
135135
horizontalAlignment: Text.AlignHCenter
136-
topPadding: 3
136+
topPadding: 4
137137
bottomPadding: 3
138138

139139
anchors {

src/qml/views/timeline/Clip.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Rectangle {
4949
property bool isTrackMute: false
5050
property bool elided: (width < 15) || (x + width < tracksFlickable.contentX) || (x > tracksFlickable.contentX + tracksFlickable.width) || (y + height < 0) || (y > tracksFlickable.contentY + tracksFlickable.contentHeight)
5151
property color clipColor: isBlank ? 'transparent' : isTransition ? 'mediumpurple' : isAudio ? 'darkseagreen' : root.shotcutBlue
52-
readonly property real _cornerRadius: 5
52+
readonly property real _cornerRadius: 7.5
5353
property bool _roundLeft: {
5454
if (isBlank || !trackRoot || trackRoot.clipCount === 0)
5555
return false;

src/util.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ void Util::setColorsToHighlight(QWidget *widget, QPalette::ColorRole role)
9090
{
9191
if (role == QPalette::Base) {
9292
widget->setStyleSheet("QLineEdit {"
93-
" font-weight: bold;"
9493
" background-color: palette(highlight);"
9594
" color: palette(highlighted-text);"
9695
" selection-background-color: palette(alternate-base);"
9796
" selection-color: palette(text);"
98-
" padding-top: 2px;"
97+
" font-weight: bold;"
98+
" padding-top: 3px;"
9999
" padding-bottom: 2px;"
100-
" border-radius: 4px;"
100+
" border-radius: 12px;"
101101
"}"
102102
"QLineEdit:hover {"
103103
" border: 2px solid palette(button-text);"
@@ -109,9 +109,9 @@ void Util::setColorsToHighlight(QWidget *widget, QPalette::ColorRole role)
109109
" background-color: %1;"
110110
" color: %2;"
111111
" font-weight: bold;"
112-
" padding-top: 2px;"
113-
" padding-bottom: 2px;"
114-
" border-radius: 4px;"
112+
" padding-top: 4px;"
113+
" padding-bottom: 3px;"
114+
" border-radius: 12px;"
115115
"}")
116116
.arg(highlight, text);
117117
widget->setStyleSheet(style);

src/widgets/newprojectfolder.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void NewProjectFolder::setColors()
292292
{
293293
const auto highlight = QPalette().color(QPalette::Highlight).name();
294294
const auto highlightedText = QPalette().color(QPalette::HighlightedText).name();
295-
const QString frameStyle = QString("QFrame#%1 { border: 4px solid %2; border-radius: 5px; }");
295+
const QString frameStyle = QString("QFrame#%1 { border: 4px solid %2; border-radius: 8px; }");
296296
ui->frame->setStyleSheet(frameStyle.arg("frame", highlight));
297297
ui->frame_2->setStyleSheet(frameStyle.arg("frame_2", highlight));
298298

@@ -301,8 +301,8 @@ void NewProjectFolder::setColors()
301301
" color: %2;"
302302
" font-weight: bold;"
303303
" margin: -4px -4px 0px -4px;"
304-
" border-top-left-radius: 5px;"
305-
" border-top-right-radius: 5px;"
304+
" border-top-left-radius: 8px;"
305+
" border-top-right-radius: 8px;"
306306
"}")
307307
.arg(highlight, highlightedText);
308308
ui->newProjectLabel->setStyleSheet(labelStyle);

src/widgets/statuslabelwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ StatusLabelWidget::StatusLabelWidget(QWidget *parent)
7171
const QString style = QString("QWidget {"
7272
" background-color: %1;"
7373
" color: %2;"
74-
" border-radius: 4px;"
74+
" border-radius: 14px;"
7575
"}")
7676
.arg(highlight, text);
7777
setStyleSheet(style);

0 commit comments

Comments
 (0)