Jump to content

Mobile UnimEdit: Set FieldLabel Color, EditText Color, EditText Background Color ?


andyhill

Recommended Posts

Please show me how to set "Mobile UnimEdit: FieldLabel Color, EditText Color, EditText Background Color ?"

 

  EditUser.ClientEvents.UniEvents.Clear;
  s:= 'beforeInit=function beforeInit(sender, config)'#13#10+
      '{'#13#10+
      '  config.cls='#39'customLabel1'#39';'#13#10+
      '}';
  EditUser.ClientEvents.UniEvents.Add(s);
 
 
  CustomCSS.Add('.customLabel1 ');
  CustomCSS.Add('{ ');
  CustomCSS.Add('  color: red; ');                                 // NO EFFECT
  CustomCSS.Add('  background-color: #A7D0FE; ');   // WORKS
  CustomCSS.Add('  font-color: blue; ');                        // NO EFFECT
  CustomCSS.Add('  text-font-color: red; ');                   // NO EFFECT
  CustomCSS.Add('  text-background-color: yellow; '); // NO EFFECT
  CustomCSS.Add('} ');
 

 

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...