cancel
Showing results for 
Search instead for 
Did you mean: 

HUD UI - 1:1 ratio map?

InaCentaur
Member

I'm trying to resize the HUD texture but it seems that it only wants to stay to the very top long rectangular strip (5:1)?

Is it possible to resize to display a 1:1 map? 

1 REPLY 1

Exo_Guid
Member

Did you get this figured?  You can try adding resizeMode to your image's style.  "center" or "contain"

        Image({
          source: ImageSource.fromTextureAsset(new Asset(BigInt(0123456789))),
          style: {
            width: "27%",
            height: "27%",
            resizeMode: "contain",
            position: "absolute",
            top: 455,
            left: 380,
          },
        }),