DLabel:SetTextColor

  DLabel:SetTextColor( Color color )

Açıklama

Metin rengini ayarlar DLabelBu öncelik sahibi olacak. DLabel:SetTextStyleColor.

Argümanlar

1. Renk Renkli
Metin rengini kullanır. Renk.

Örnek

Metin rengini kırmızıya değiştiriyor.

local frame = vgui.Create( "DFrame" ) frame:SetTitle( "Text Color Example" ) frame:SetSize( 300, 100 ) frame:Center() frame:MakePopup() local frame_label = vgui.Create( "DLabel", frame ) frame_label:SetPos( 10, 30 ) frame_label:SetTextColor( Color( 255, 0, 0) )

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord