fix: icon picker bottom clip

This commit is contained in:
AlexeyZavar
2026-03-08 00:35:11 +03:00
parent 5dbeedd914
commit 6edf31beb6
2 changed files with 2 additions and 2 deletions
@@ -58,7 +58,8 @@ IconPicker::IconPicker(QWidget *parent)
widthValue() | rpl::on_next([=](int w) {
const auto cell = w / kColumns;
const auto iconSize = st::iconPickerIconSize;
const auto h = rows * cell - (cell - iconSize);
const auto contentSize = iconSize + st::iconPickerImagePadding * 2;
const auto h = rows * cell - (cell - contentSize);
resize(w, h);
}, lifetime());
}
@@ -70,7 +70,6 @@ void BuildAppIcon(SectionBuilder &builder, AyuSectionBuilder &ayu) {
.keywords = { u"icon"_q, u"app"_q, u"logo"_q },
};
});
builder.addSkip();
#ifdef Q_OS_WIN
builder.addDivider();