2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Fix auto media download settings box layout.

This commit is contained in:
John Preston
2017-07-12 16:53:42 +03:00
parent c79561e97f
commit f5a405e6f1
4 changed files with 3 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ int EditPrivacyBox::countDefaultHeight(int newWidth) {
if (!_controller->hasOption(option)) {
return 0;
}
return st::editPrivacyOptionMargin.top() + st::defaultBoxCheckbox.height + st::editPrivacyOptionMargin.bottom();
return st::editPrivacyOptionMargin.top() + st::defaultCheck.diameter + st::editPrivacyOptionMargin.bottom();
};
auto labelHeight = [this, newWidth](const QString &text, const style::FlatLabel &st, style::margins padding) {
if (text.isEmpty()) {