mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Improve layout of voice chat channel choosing.
This commit is contained in:
parent
2c806b11d7
commit
33ae4c2802
3 changed files with 4 additions and 2 deletions
|
@ -111,7 +111,7 @@ confirmInviteUserName: FlatLabel(defaultFlatLabel) {
|
||||||
confirmInviteUserNameTop: 227px;
|
confirmInviteUserNameTop: 227px;
|
||||||
|
|
||||||
confirmPhoneAboutLabel: FlatLabel(defaultFlatLabel) {
|
confirmPhoneAboutLabel: FlatLabel(defaultFlatLabel) {
|
||||||
minWidth: 282px;
|
minWidth: 272px;
|
||||||
}
|
}
|
||||||
confirmPhoneCodeField: InputField(defaultInputField) {
|
confirmPhoneCodeField: InputField(defaultInputField) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -792,9 +792,10 @@ groupCallBoxLabel: FlatLabel(boxLabel) {
|
||||||
textFg: groupCallMembersFg;
|
textFg: groupCallMembersFg;
|
||||||
}
|
}
|
||||||
groupCallJoinAsLabel: FlatLabel(defaultFlatLabel) {
|
groupCallJoinAsLabel: FlatLabel(defaultFlatLabel) {
|
||||||
minWidth: 282px;
|
minWidth: 272px;
|
||||||
textFg: groupCallMembersFg;
|
textFg: groupCallMembersFg;
|
||||||
}
|
}
|
||||||
|
groupCallJoinAsWidth: 330px;
|
||||||
groupCallJoinAsTextTop: 4px;
|
groupCallJoinAsTextTop: 4px;
|
||||||
groupCallJoinAsNameTop: 23px;
|
groupCallJoinAsNameTop: 23px;
|
||||||
groupCallJoinAsPadding: margins(12px, 8px, 12px, 7px);
|
groupCallJoinAsPadding: margins(12px, 8px, 12px, 7px);
|
||||||
|
|
|
@ -114,6 +114,7 @@ void ChooseJoinAsBox(
|
||||||
Context context,
|
Context context,
|
||||||
JoinInfo info,
|
JoinInfo info,
|
||||||
Fn<void(JoinInfo)> done) {
|
Fn<void(JoinInfo)> done) {
|
||||||
|
box->setWidth(st::groupCallJoinAsWidth);
|
||||||
box->setTitle([&] {
|
box->setTitle([&] {
|
||||||
switch (context) {
|
switch (context) {
|
||||||
case Context::Create: return tr::lng_group_call_start_as_header();
|
case Context::Create: return tr::lng_group_call_start_as_header();
|
||||||
|
|
Loading…
Add table
Reference in a new issue