Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: Kenneth Law on Feb 15, 2020, 02:40 AM

Title: [BUG]GUI label invisible!!
Post by: Kenneth Law on Feb 15, 2020, 02:40 AM
Description
Some labels with certain text and font sizes do not show up.
For instance:
label = GUILabel();
label.Pos = VectorScreen(300, 200);
label.TextColour = Colour(255, 255, 255);
label.Text = "test";
label.FontSize = 14;
But if I change the text to "testtesttest" or set the font size to 18, it becomes visible again.

Reproducible
always

What you were doing when the bug happened
Not doing anything

What you think caused the bug
I don't know. It's very strange.
Title: Re: [BUG]GUI label invisible!!
Post by: DizzasTeR on Feb 15, 2020, 10:31 AM
https://forum.vc-mp.org/?topic=5978.0
Title: Re: [BUG]GUI label invisible!!
Post by: Kenneth Law on Feb 15, 2020, 01:54 PM
Quote from: Doom_Kill3R on Feb 15, 2020, 10:31 AMhttps://forum.vc-mp.org/?topic=5978.0
I was using the empty GUILabel() as he said in the topic however the problem still exists
Title: Re: [BUG]GUI label invisible!!
Post by: MatheuS on Feb 15, 2020, 03:41 PM
Change your label fontsize to 12