mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix layout in intro Settings.
This commit is contained in:
parent
0c8033414e
commit
d648d294ca
1 changed files with 12 additions and 4 deletions
|
@ -73,10 +73,18 @@ object_ptr<Ui::RpWidget> CreateIntroSettings(
|
|||
SetupUpdate(result);
|
||||
AddSkip(result);
|
||||
}
|
||||
AddDivider(result);
|
||||
AddSkip(result);
|
||||
SetupSystemIntegrationContent(result);
|
||||
AddSkip(result);
|
||||
{
|
||||
auto wrap = object_ptr<Ui::VerticalLayout>(result);
|
||||
SetupSystemIntegrationContent(wrap.data());
|
||||
if (wrap->count() > 0) {
|
||||
AddDivider(result);
|
||||
AddSkip(result);
|
||||
result->add(object_ptr<Ui::OverrideMargins>(
|
||||
result,
|
||||
std::move(wrap)));
|
||||
AddSkip(result);
|
||||
}
|
||||
}
|
||||
AddDivider(result);
|
||||
AddSkip(result);
|
||||
SetupInterfaceScale(result, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue