Quote:
Originally Posted by Stefan
How its not updating properly? What text do you see ?
|
When the arrows are pushed, the text just remains the same.
For example, if you take the example code off of the wiki:
PHP Code:
new GuiTextEditSliderCtrl("Test_EditSlider") {
profile = GuiBlueTextEditSliderProfile;
x = 10;
y = 10;
width = 160;
height = 20;
format = "Edit $d Slider";
range = {1,200};
value = 123;
}
The slider says "Edit 1 slider" no matter what. If you change format to:
PHP Code:
format = "$d Slider";
Then it is working fine.
(Again, replace $ with the percent sign).