Jump to content

mofareh

uniGUI Subscriber
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by mofareh

  1. no need to use google font , use any font in server , add this code in uniservermodule>css first line 

    copy the font to the files folder : files/JF-Flat-Regular.ttf

    @font-face {
        font-family: 'mof';
        src: url(files/JF-Flat-Regular.ttf);
    }

    then use the font-family 'mof' in any uni control

    unilable> font> name = mof  , uniedit>font>name= mof ........

    image.thumb.png.633f70480c5e7f083c148cf2002e4c2f.png

    image.png.998d5bf291de838a70c8236b3e65fe43.png

    • Like 1
  2. how i can change the UniGauge ValueStyle Brush Color at runtime

    this code not working!!

     

    if UniTrackBar1.Position>50 then
        begin
          UniGauge3.ValueStyle.Brush.Color:=clred;
        end
        else
        begin
          UniGauge3.ValueStyle.Brush.Color:=clgreen;
        end;
      UniGauge3.Value := UniTrackBar1.Position;

     

    image.png.755ccd1fe861e7a2c2a8fbf7a73943fd.png

×
×
  • Create New...