Jump to content

How insets are applied on the 'main' box


TomDixon77

Recommended Posts

This may be true of all boxes, but if you have inset values on the main box (i.e. what is used to fill the main screen area) they are constantly being applied to items on the screen it appears (though it's only really noticeable on the full screen match window). I'm pretty sure this didn't happen in 09, and it's not a factor in the default skins (as the insets are 0) but if you want to make sure nothing overlaps the edges of the main area (if you've made a boundary, for the want of a better word) it's a right pain in the proverbial.

Link to post
Share on other sites

I don't 100% understand what you're saying.

You really have multiple levels of inset values. You have the 'screen content area' container which is the whole thing and you can inset that within global panels. Then you have individual containers for screens that appear as titled boxes etc and you can inset them within the screen content area. Finally you have the contents of the titled boxes themselves that you can inset within the box using the XML file that's there in the same directory as the 'paper' graphics files.

Surely if you apply an inset then you want the inset to affect everything on the screen? Bit confuse tbh. Screenie to explain what you mean?

Link to post
Share on other sites

It's a bit awkward to show in a screenshot, but the problem was that every time you moved between the full match screen and, for instance, the tactics screen, the inset values from boxes\main\paper.xml would be applied, which results in the match screen widgets shifting across the screen.

Link to post
Share on other sites

Does it make any difference if you inset the scca instead of using the paper.xml file?

<!-- screen content area -->
       <container id="scca" auto_size="horizontal">
         <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
         <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/>
       </container>

That'll inset the actual screen area rather than create an inset within the box within the screen area. Perhaps you could then create a container that sits underneath the scca with zero inset for any border to show.

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...