View Single Post
  #739  
Old 11-16-2010, 11:36 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
border, fillColor, etc don't seem to work with GuiMLTextCtrl in v6
PHP Code:
new GuiMLTextCtrl("Test_Control") {
  
profile = GuiBlueMLTextProfile;
  
useOwnProfile = true;
  
profile.border = 1;
  
profile.opaque = true;
  
profile.fillColor = {192, 224, 255, 200};
  
profile.fontColor = {0, 0, 0};
        
  
text = "Test";
  
// Rest removed for brevity
} 
The above works fine in V5 and displays the MLTextCtrl with the colored background and border, but in V6, it lacks the border and fill color.

Also,
PHP Code:
new GuiTextCtrl("Test_Text") {
  
profile = GuiBlueTextProfile;
  
useOwnProfile = true;
  
profile.fontStyle = "i";
      
  
text = "Some text that should be italicized";
  
// rest removed for brevity    
} 
This no longer italicizes text as it did in V5. I haven't tested with other controls.
__________________
Reply With Quote