Skip to content

Commit

Permalink
chore: update default window corner size
Browse files Browse the repository at this point in the history
The default value is 12

pms: BUG-286881
  • Loading branch information
mhduiy authored and deepin-bot[bot] committed Jan 14, 2025
1 parent 976aa91 commit dc5aa91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static void initWindowRadius(QWindow *window)
return;

auto theme = DGuiApplicationHelper::instance()->systemTheme();
int radius = theme->windowRadius(18); //###(zccrs): 暂时在此处给窗口默认设置为18px的圆角
int radius = theme->windowRadius(12); //###(zccrs): 暂时在此处给窗口默认设置为12px的圆角

setWindowProperty(window, _windowRadius, radius);
// Qt::UniqueConnection will report a warning
Expand Down

0 comments on commit dc5aa91

Please sign in to comment.