Modify icon default size

This commit is contained in:
reionwong 2021-10-14 23:10:25 +08:00
parent 458bce03ef
commit 0694ef7894
2 changed files with 1 additions and 2 deletions

View file

@ -46,7 +46,7 @@ DockSettings::DockSettings(QObject *parent)
, m_settings(new QSettings(QSettings::UserScope, "cutefishos", "dock"))
{
if (!m_settings->contains("IconSize"))
m_settings->setValue("IconSize", 54);
m_settings->setValue("IconSize", 53);
if (!m_settings->contains("Direction"))
m_settings->setValue("Direction", Bottom);
if (!m_settings->contains("Visibility"))

View file

@ -161,7 +161,6 @@ QRect MainWindow::windowRect() const
compositing = item->property("compositing").toBool();
}
QSize newSize(0, 0);
QPoint position(0, 0);
int maxLength = isHorizontal ? screenGeometry.width() - m_settings->edgeMargins()