- Home /
Image not displaying proper
I have some lable content to display on screen. I used background image for label content. When it displays, the background image width is stoping when the text width is stop. See the below images. The elephant image label & background displays proper. But the cow image background image is stoping. why?
GUI.skin.label = style;
GUI.skin.label.margin.bottom = 80;
GUILayout.Label(" Cattle are herbivores that eat vegetation such as grass\n\nCattle stomachs have four chambers which help break down what they eat \n\nThere are well over 1 billion cattle in the world\n\nYoung cattle are generally known as calves\n\nAdult females are generally called cows\n\nCattle are red/green colour blind", style);
}
elephant.jpg
(346.6 kB)
cow.jpg
(309.2 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613125221im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUI objects (Label and box) change their opacity for unknown reason. 1 Answer
Assigning UV Map to model at runtime 0 Answers
Gui now showing up! Nothing to do D': 0 Answers
how to accomplish:"When click a button , four button occour ." 0 Answers
Replace ordinary array with a fancy dynamic texture pack array. 0 Answers