Jump to content

Overlapping button graphics


(sic)
 Share

Recommended Posts

So there seems to be an issue with split buttons, where they kinda overlap spacer.png for example.

The buttons are somewhat transparent so the left side overlaps the right side (or vice versa), it seems to be an issue with the default skin as well.

I've tried messing with settings file (the global gap settings), but changing values doesn't seem to affect anything.

<set_global name="ui.split_button_row_gap" >
        <integer value="0"/>
    </set_global>

 

Is there any way to fix this?

Link to post
Share on other sites

The issue is in the default skin for sure and it's really stupid. I shared it yesterday on Twitter, the example was from the match playback controler container.

Image

There is this code at two places within the file. I tried a couple of changes within gap etc. but it didn't work, until I decided to delete both these parts and it works exactly as I want. Or much better I would say.

<attachment_group class="horizontal_arrange_autosize" horizontal_alignment="left">
	<global id="horizontal_gap" name="ui.split_button_row_gap" />
</attachment_group>

But the most sad thing is that this issue is within the whole default FM22 skin, so you would have to edit it completely everywhere.

Link to post
Share on other sites

sorry for the 2nd in a row but:

I had to check it and it's in the settings.xml file:

<!-- global settings -->
	<set_global name="ui.main_box_gap" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_box_gap_vertical" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_box_gap_horizontal" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_contrast_box_gap" >
		<integer value="8"/>
	</set_global>
	<set_global name="ui.inner_box_gap" >
		<integer value="20"/>
	</set_global>
	<set_global name="ui.main_content_margin" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.button_row_gap" >
		<integer value="0"/>
	</set_global>
	<set_global name="ui.split_button_row_gap" >
		<integer value="-9"/>
	</set_global>

I changed the "-9" value in the bottom part and it's working.

Link to post
Share on other sites

35 minutes ago, keysi said:

sorry for the 2nd in a row but:

I had to check it and it's in the settings.xml file:

<!-- global settings -->
	<set_global name="ui.main_box_gap" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_box_gap_vertical" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_box_gap_horizontal" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.main_contrast_box_gap" >
		<integer value="8"/>
	</set_global>
	<set_global name="ui.inner_box_gap" >
		<integer value="20"/>
	</set_global>
	<set_global name="ui.main_content_margin" >
		<integer value="12"/>
	</set_global>
	<set_global name="ui.button_row_gap" >
		<integer value="0"/>
	</set_global>
	<set_global name="ui.split_button_row_gap" >
		<integer value="-9"/>
	</set_global>

I changed the "-9" value in the bottom part and it's working.

What did you change it to? I've changed multiple values of these items and nothing has worked.

Also, I think during the beta everything was working fine, so they must've changed something after release.

Link to post
Share on other sites

9 minutes ago, keysi said:

I changed it to "0" :)

Yes, I think it was changed after the full game release. I didn't pay attention to it until yesterday as I had more important things to do.

this is default vs. mine after I changed it to "0"

obrazek.png.fda40e90f6398b339db821c71ade8ad2.png

Hmmm, that didn't fix it for me. Changing any of those gap values has 0 impact on my skin, which is weird as I remember it working correctly last year.

Link to post
Share on other sites

24 minutes ago, (sic) said:

Hmmm, that didn't fix it for me. Changing any of those gap values has 0 impact on my skin, which is weird as I remember it working correctly last year.

So, this is a bit weird spacer.png. I can make it work by changing this line

<container height="30">
            <layout class="arrange_horizontal_attachment" alignment="left" embed_in_frame="false" offset="0">
                <global id="gap" name="ui.split_button_row_gap" />

Instead of "ui.split_button_row_gap", we can change it to a custom name, like "button_row_gap". Then using that name in settings and setting value to 0 fixes the button. 

<set_global name="button_row_gap">
        <integer value="0"/>
    </set_global>

spacer.png

But actually changing the "ui.split_button_row_gap" has 0 effect, it's like that part of the code doesn't connect to anything else. Even though it's the same name in that file that controls  the button and in the settings file.

Link to post
Share on other sites

I think there is a bug somewhere beyond the skin settings.

I had this overlapping issue myself and I thought at the begging it was my resolution and the zoom, or it was my skin - but somehow it fixed itself after loading another skin... Maybe I'm wrong and it was a coincidence, also it did work multiple times - loading another skin, clearing cache, reloading my skin etc. did the trick.

Did you noticed other oddities when this happens ? I've seen panels cut out - like they suddenly have larger dimensions, extra large pictures, lower resolution icons ( like the ball pointer icon ) etc. It feels like sometimes the games fails to load the correct settings/ texture quality and it's working with different dimensions for panels, pictures etc.

Anyway .. just my 2 cents.

 

 

Edited by BuzzR
Link to post
Share on other sites

1 hour ago, keysi said:

I changed it to "0" :)

Yes, I think it was changed after the full game release. I didn't pay attention to it until yesterday as I had more important things to do.

this is default vs. mine after I changed it to "0"

obrazek.png.fda40e90f6398b339db821c71ade8ad2.png

 

Okay, so it has  something to do with the settings file, I've copied over the one from your skin and everything works perfectly.

I'll go bit by bit, transferring some code over to mine, and I'll see where I end up.

 

Edit: This is the most random thing ever, I've copied over the code from my settings file to yours, in-game everything worked on your skin, so I switched to mine and it worked as well.

So I think @BuzzR is right, it definitely seems like a bug within the game.

 

Edited by (sic)
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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