ID:272003
 
I have 2 questions, both about interfaces, skins if you will:

How do I make it so the map stays 1 size (544x416) when changing sizes, with anchors it changes sizes and I don't want that.


And another one is, I made an interface and made a Browser as another window, sometimes it gets in peoples way and they cancel it but then they can't get it back without relogging, is there a way for me to add a verb or button to make it repop up again?


If you wana check the skin out and post a link click


http://www.byond.com/members/TheUnknownNinjaFromHell/files/ skin.zip
The Unknown Ninja From Hell wrote:
I have 2 questions, both about interfaces, skins if you will:

How do I make it so the map stays 1 size (544x416) when changing sizes, with anchors it changes sizes and I don't want that.

You can keep one or both dimensions the same using anchors. The key is, you need to use the same anchor for both (or effectively, just use one anchor).

If you have two anchors with the same X%, the width of the control will never change. Likewise if you have two anchors with the same Y%, the height will never change.

And another one is, I made an interface and made a Browser as another window, sometimes it gets in peoples way and they cancel it but then they can't get it back without relogging, is there a way for me to add a verb or button to make it repop up again?

Sure. Just use .winset to turn on the window's is-visible property.

Lummox JR
In response to Lummox JR
I tried that just now and it moves side to side i want it like move on the sides but not on the inside so it has a good shape and nothing is disorted
The Unknown Ninja From Hell wrote:
I tried that just now and it moves side to side i want it like move on the sides but not on the inside so it has a good shape and nothing is disorted

I'm not quite sure what you mean by that. All I can offer is that what I said about using the same anchor for both (or just one anchor) is definitely what you need. The question is just where you want to anchor the map.

Lummox JR
In response to Lummox JR
I sopose I can't get an example lol

and another thing, I edited my games skin to make it personally for me, I added a different colored background and it won't show, any picture I add will not show up :|