Update
This commit is contained in:
parent
7828e87ee0
commit
e347b454ad
|
@ -231,8 +231,8 @@ progress_text.image = Image.Text(progress_t + "%", 255, 255, 255, 1, progressfon
|
||||||
progress_text.width = progress_text.image.GetWidth();
|
progress_text.width = progress_text.image.GetWidth();
|
||||||
progress_text.height = progress_text.image.GetHeight();
|
progress_text.height = progress_text.image.GetHeight();
|
||||||
|
|
||||||
progress_text.x = progress_form.x + progress_form.width - (4 * Percent(70, progress_text.height)); // позиция % по X
|
progress_text.x = progress_form.x;// + progress_form.width - (4 * Percent(70, progress_text.height)); // позиция % по X
|
||||||
progress_text.y = progress_form.y + progress_text.height; // позиция % по Y
|
progress_text.y = progress_form.y;// + progress_text.height; // позиция % по Y
|
||||||
|
|
||||||
progress_text.sprite = SpriteNew();
|
progress_text.sprite = SpriteNew();
|
||||||
progress_text.sprite.SetPosition(progress_text.x, progress_text.y, 3);
|
progress_text.sprite.SetPosition(progress_text.x, progress_text.y, 3);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Theme Name: Melawy Fenek
|
Theme Name: Melawy Lera Sugar
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Description: My theme
|
Description: My theme
|
||||||
Author: Valeria Fadeeva - https://github.com/Valeria-Fadeeva
|
Author: Valeria Fadeeva - https://github.com/Valeria-Fadeeva
|
||||||
|
@ -231,8 +231,8 @@ progress_text.image = Image.Text(progress_t + "%", 255, 255, 255, 1, progressfon
|
||||||
progress_text.width = progress_text.image.GetWidth();
|
progress_text.width = progress_text.image.GetWidth();
|
||||||
progress_text.height = progress_text.image.GetHeight();
|
progress_text.height = progress_text.image.GetHeight();
|
||||||
|
|
||||||
progress_text.x = progress_form.x + progress_form.width - (4 * Percent(70, progress_text.height)); // позиция % по X
|
progress_text.x = progress_form.x;// + progress_form.width - (4 * Percent(70, progress_text.height)); // позиция % по X
|
||||||
progress_text.y = progress_form.y + progress_text.height; // позиция % по Y
|
progress_text.y = progress_form.y;// + progress_text.height; // позиция % по Y
|
||||||
|
|
||||||
progress_text.sprite = SpriteNew();
|
progress_text.sprite = SpriteNew();
|
||||||
progress_text.sprite.SetPosition(progress_text.x, progress_text.y, 3);
|
progress_text.sprite.SetPosition(progress_text.x, progress_text.y, 3);
|
||||||
|
|
Loading…
Reference in New Issue