2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Use separate styles for group call boxes.

This commit is contained in:
John Preston
2020-11-29 21:26:49 +03:00
parent e66ad89a2a
commit d40768f6b0
34 changed files with 300 additions and 182 deletions

View File

@@ -880,7 +880,7 @@ void Content::setupContent(
const auto inner = wrap->entity();
inner->add(object_ptr<Ui::FixedHeightWidget>(
inner,
st::boxVerticalMargin));
st::defaultBox.margin.top()));
const auto rows = inner->add(object_ptr<Rows>(
inner,
list,
@@ -888,7 +888,7 @@ void Content::setupContent(
areOfficial));
inner->add(object_ptr<Ui::FixedHeightWidget>(
inner,
st::boxVerticalMargin));
st::defaultBox.margin.top()));
rows->isEmpty() | rpl::start_with_next([=](bool empty) {
wrap->toggle(!empty, anim::type::instant);
@@ -1153,7 +1153,7 @@ void LanguageBox::setInnerFocus() {
not_null<Ui::MultiSelect*> LanguageBox::createMultiSelect() {
const auto result = Ui::CreateChild<Ui::MultiSelect>(
this,
st::contactsMultiSelect,
st::defaultMultiSelect,
tr::lng_participant_filter());
result->resizeToWidth(st::boxWidth);
result->moveToLeft(0, 0);