mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
lttie/example: fixed layouting issue.
Change-Id: Id6ac76f9e4161321252e32a7a4484f69d130c04f
This commit is contained in:
parent
1c62266e43
commit
792cd0d5f5
@ -31,7 +31,7 @@ public:
|
|||||||
int count = numberOfImage;
|
int count = numberOfImage;
|
||||||
int colums = (int) ceil(sqrt(count));
|
int colums = (int) ceil(sqrt(count));
|
||||||
int offset = 3;
|
int offset = 3;
|
||||||
int vw = (mApp->width() - (2 * offset * colums))/colums;
|
int vw = (mApp->width() - (offset * colums))/colums;
|
||||||
int vh = vw;
|
int vh = vw;
|
||||||
int posx = offset;
|
int posx = offset;
|
||||||
int posy = offset;
|
int posy = offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user