Jump to content

Logo on the main panel background


bcm

Recommended Posts

<!-- centered logo in BG -->  <container height="440" width="440">
    <layout class="stick_to_sides_attachment" alignment="top" inset="70"/>
    <layout class="stick_to_sides_attachment" alignment="left" inset="500"/>                 

   <widget class="picture" id="rgtF" scale_picture="true" keep_aspect_ratio="true" height="430" width="430" transparency="0.4" image_alignment="all">
                <attachment class="test_global_attachment" get_property="bgdn" value="22" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0"/>
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>





               <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it -->
              <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/>


            <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it -->
            <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/>


                <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured -->
            <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/>
                 <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/>
            <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/>
      </widget>
</container> 

That goes in the global panels.xml file. Change the values in the first few lines for the size of the logo, I had it quite big.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...