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:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user