Menu

Gui Element Colors

Anonymous
2021-11-24
2021-11-25
  • Anonymous

    Anonymous - 2021-11-24

    I have a hardtime changing colors of GUI elements like Label

    UI_Mono_Hand.setBackgroundColor("green");
    UI_Mono_Hand.setPaletteColorRgb(0,255.0);

                   This is the GUI element.
    

    <ui version="4.0">
    <widget name="__qt_fake_top_level">
    <widget class="" name="Mono_Hand">
    <property name="geometry">
    <rect>
    <x>40</x>
    <y>190</y>
    <width>36</width>
    <height>16</height>
    </rect>
    </property>
    <property name="autoFillBackground">
    <bool>true</bool>
    </property>
    <property name="text">
    <string>HAND</string>
    </property>
    </widget>
    </widget>
    <resources>
    </resources></ui>

    I Cant see where i am doing something wrong
    Kind regards
    Joakim Soya
    jsoya@fiaskosoftware.com

     
  • Anonymous

    Anonymous - 2021-11-25

    I have it now - sorry for wrong post.
    regards
    Joakim

     

Anonymous
Anonymous

Add attachments
Cancel