Page 1 of 1

Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 20 Apr 2019, 10:21
by netoper
hello.
i have this code for weather text temperature:

Code: Select all

       "Temperature": {
            "Current": {
                "Number": {
                    "TopLeftX": 138,
                    "TopLeftY": 136,
                    "BottomRightX": 171,
                    "BottomRightY": 145,
                    "Alignment": "TopRight",
                    "Spacing": 2,
                    "ImageIndex": 50,
                    "ImagesCount": 10
                },
                "MinusImageIndex": 102,
                "DegreesImageIndex": 103
            }
        }
    }
in editor looks fine and the text is aligned to the right side. but when create bin file with AmazfitBipTools-1.0.3.1, text is aligned from left. amazfitbiptools ignore my settings ("Alignment": "TopRight",), or i missed something? thank.

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 20 Apr 2019, 14:23
by asoo
I would like to help you to solve this issue.
But, Could you please send your "file.BIN" to me ?

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 20 Apr 2019, 15:41
by netoper
thank you for reply. i re-created watchface again, and now is ok ;) i don't know where the problem was.

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 21 Apr 2019, 02:23
by TXK
The way to solve the problem is:

1. https://v1ack.github.io/watchfaceEditor/

2.[DESIGN]-[FIX COORDINATES]

3.Re layout,Export JSON

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 29 Apr 2019, 17:58
by netoper
OK, the problem is still here. This watch face https://amazfitwatchfaces.com/bip/view/23630 on preview show battery number, night temp wrong. I use "TopRight" align. For current temp (below of weather icon) i use "TopCenter". In editor is all ok and is positioned correctly, but when i create .bin file, generated preview is with wrong aligment.

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 30 Apr 2019, 01:29
by Kensupen
You have to go to the "Edit" tab and make sure the settings
"TopLeftX": 0,
"TopLeftY": 0,
"BottomRightX": xx,
"BottomRightY": xx,
Are at least as large as your fonts added together plus spacing. If the box is too small on the "Design" tab, it'll look right in the editor, but not when made into a bin file.

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 30 Apr 2019, 09:52
by asoo
netoper wrote: 29 Apr 2019, 17:58
OK, the problem is still here. This watch face https://amazfitwatchfaces.com/bip/view/23630 on preview show battery number, night temp wrong. I use "TopRight" align. For current temp (below of weather icon) i use "TopCenter". In editor is all ok and is positioned correctly, but when i create .bin file, generated preview is with wrong aligment.
Image
Please see this repack BIN
Image
duotone cyan_packed.bin
(45.77 KiB) Downloaded 293 times

Re: Weather render problem in AmazfitBipTools-1.0.3.1

Posted: 30 Apr 2019, 14:13
by netoper
thank you guys ;) i understand how now.