2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Allow several lines in QR code intro step phrases.

This commit is contained in:
John Preston
2019-12-31 11:56:41 +03:00
parent 6db4222b1b
commit 03ff48cf07
5 changed files with 35 additions and 15 deletions

View File

@@ -167,8 +167,11 @@ introQrTop: -6px;
introQrPixel: 50px; // large enough
introQrMaxSize: 180px;
introQrLabelsWidth: 292px;
introQrTitleWidth: 320px;
introQrTitle: FlatLabel(defaultFlatLabel) {
textFg: introTitleFg;
align: align(top);
minWidth: introQrTitleWidth;
style: TextStyle(defaultTextStyle) {
font: font(20px semibold);
linkFont: font(20px semibold);
@@ -177,9 +180,11 @@ introQrTitle: FlatLabel(defaultFlatLabel) {
}
introQrErrorTop: 336px;
introQrTitleTop: 196px;
introQrStep: defaultFlatLabel;
introQrStep: FlatLabel(defaultFlatLabel) {
minWidth: introQrLabelsWidth;
}
introQrStepsTop: 232px;
introQrStepMargins: margins(0px, 8px, 0px, 0px);
introQrStepMargins: margins(20px, 8px, 0px, 0px);
introQrSkipTop: 360px;
introQrCenterSize: 44px;
introQrPlane: icon {{ "intro_qr_plane", activeButtonFg }};