Fitness.com
Advertisement

Go Back   Sports Forum > Community > Football Manager > Skinning Hideout

» Current Poll
Champion:
Argentina - 33.33%
4 Votes
Brazil - 25.00%
3 Votes
Mexico - 25.00%
3 Votes
Paraguay - 8.33%
1 Vote
Uruguay - 8.33%
1 Vote
Chile - 0%
0 Votes
Venezuela - 0%
0 Votes
Peru - 0%
0 Votes
Total Votes: 12
You may not vote on this poll.
» Stats
Members: 47,883
Threads: 82,524
Posts: 1,027,936
Top Poster: Peacemaker7 (3,025)
Welcome to our newest member, nikemate
Reply
 
LinkBack Thread Tools Display Modes
Old 11-28-2007, 04:01 PM   #1
Junior Member
 
Join Date: Jan 1970
Posts: 2
Rep Power: 0
Weeelo is infamous around these parts
Default Att: Radestock - some container probs?

Hi,

I'm still working on my Simplicity skin, but I have a problem. I want a container to be displayed on the horizontally center of the screen. That's no problem. But now I want to add a background to this container. How can I do that?

Right now I'm trying to add a picture within a widget inside the container, but it doesn't seem to work...

Like this:
<widget class="picture" id="pict" file="interface/titlebar/continue/bar" auto_size="vertical" cached="true">
<layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
</widget>

Hope that someone can help me fix this issue.

Thanks in advance!
Weeelo is offline   Reply With Quote
Old 11-28-2007, 06:02 PM   #2
Member
 
Join Date: Jul 2003
Posts: 63
Rep Power: 6
radestock is on a distinguished road
Default

Well, what you are wanting to do is very possible. Without knowing where and what you are doing it's difficult but I spsect you just havn't declared the layout properly within the centralised container/

Tips:

1. try the graphic outside of the container - if it works then you know that's the problem and not the graphic declaration

2. Have a look at how it's done elsewhere. Probably the best way to get anything working is to find it working somewhere else. I'm sure the header file is (or used to be) three containers horizonatally across the top. Try taking the layout declerations from that container and adding them to your's

3. Do other things work - can you get text to display? Can you get a fixed image to display rather than a scaling one?

Hope you get it working :thup:
radestock is offline   Reply With Quote
Old 12-01-2007, 12:57 PM   #3
Junior Member
 
Join Date: Jan 1970
Posts: 2
Rep Power: 0
Weeelo is infamous around these parts
Default

Hmm, I've tried some things, but can't figure out how to get to work. Here is the code:

<pre class="ip-ubbcode-code-pre">&lt;container width="170"&gt;&lt;layout class="stick_to_sides_attachment" alignment="vertical" inset="16"/&gt;&lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt; &lt;widget class="picture" id="pict" file="interface/titlebar/continue/bar" auto_size="vertical" cached="true"&gt; &lt;layout class="stick_to_sides_attachment" alignment="top" inset="0"/&gt; &lt;/widget&gt;&lt;widget class="action_button" id="back" appearance="button/custom/back/button" auto_size="all" &gt; &lt;attachment class="get_global_attachment" get_property="disp" set_property="disa"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="top" inset="64"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="left"/&gt; &lt;record id="click_event" event_id="GOTO" event_target="scrn" scin="-3"/&gt; &lt;/widget&gt;&lt;!-- Continue button --&gt; &lt;widget class="picture" id="pict" file="interface/titlebar/continue/bar"&gt; &lt;layout class="stick_to_sides_attachment" alignment="top" inset="0"/&gt; &lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt; &lt;/widget&gt;&lt;widget class="text_button" text="Continue" standard_spec="title, small" auto_size="horizontal" colour="white"&gt;&lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt;&lt;layout class="stick_to_sides_attachment" alignment="top" inset="66"/&gt;&lt;record id="click_event" event_id="CONT" event_target="scrn"/&gt;&lt;attachment class="test_global_attachment" get_property="cont" set_property="disa"&gt;&lt;list id="value"&gt;&lt;integer value="-8"/&gt;&lt;integer value="-5"/&gt;&lt;/list&gt;&lt;/attachment&gt;&lt;!-- match play text --&gt;&lt;attachment class="get_global_attachment" get_property="cttx" set_property="text"/&gt;&lt;/widget&gt; &lt;widget class="action_button" id="forw" appearance="button/custom/next/button" auto_size="all"&gt;&lt;attachment class="get_global_attachment" get_property="disn" set_property="disa"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="top" inset="64"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="right"/&gt; &lt;record id="click_event" event_id="GOTO" event_target="scrn" scin="-2"/&gt; &lt;/widget&gt;&lt;/container&gt; </pre>

I want, the picture to be placed behind the continue, back and next buttons, which are horizontally centered on the screen.
Weeelo is offline   Reply With Quote
Old 12-03-2007, 01:09 PM   #4
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
FredheimHolm is on a distinguished road
Default Re: Att: Radestock - some container probs?

Quote:
Originally Posted by Weeelo View Post
Hmm, I've tried some things, but can't figure out how to get to work. Here is the code:

<pre class="ip-ubbcode-code-pre">&lt;container width="170"&gt;&lt;layout class="stick_to_sides_attachment" alignment="vertical" inset="16"/&gt;&lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt; &lt;widget class="picture" id="pict" file="interface/titlebar/continue/bar" auto_size="vertical" cached="true"&gt; &lt;layout class="stick_to_sides_attachment" alignment="top" inset="0"/&gt; &lt;/widget&gt;&lt;widget class="action_button" id="back" appearance="button/custom/back/button" auto_size="all" &gt; &lt;attachment class="get_global_attachment" get_property="disp" set_property="disa"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="top" inset="64"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="left"/&gt; &lt;record id="click_event" event_id="GOTO" event_target="scrn" scin="-3"/&gt; &lt;/widget&gt;&lt;!-- Continue button --&gt; &lt;widget class="picture" id="pict" file="interface/titlebar/continue/bar"&gt; &lt;layout class="stick_to_sides_attachment" alignment="top" inset="0"/&gt; &lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt; &lt;/widget&gt;&lt;widget class="text_button" text="Continue" standard_spec="title, small" auto_size="horizontal" colour="white"&gt;&lt;layout class="centre_in_parent_attachment" alignment="horizontal"/&gt;&lt;layout class="stick_to_sides_attachment" alignment="top" inset="66"/&gt;&lt;record id="click_event" event_id="CONT" event_target="scrn"/&gt;&lt;attachment class="test_global_attachment" get_property="cont" set_property="disa"&gt;&lt;list id="value"&gt;&lt;integer value="-8"/&gt;&lt;integer value="-5"/&gt;&lt;/list&gt;&lt;/attachment&gt;&lt;!-- match play text --&gt;&lt;attachment class="get_global_attachment" get_property="cttx" set_property="text"/&gt;&lt;/widget&gt; &lt;widget class="action_button" id="forw" appearance="button/custom/next/button" auto_size="all"&gt;&lt;attachment class="get_global_attachment" get_property="disn" set_property="disa"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="top" inset="64"/&gt; &lt;attachment class="stick_to_sides_attachment" alignment="right"/&gt; &lt;record id="click_event" event_id="GOTO" event_target="scrn" scin="-2"/&gt; &lt;/widget&gt;&lt;/container&gt; </pre>

I want, the picture to be placed behind the continue, back and next buttons, which are horizontally centered on the screen.
That's how you make a skin! :O
FredheimHolm is offline   Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch Probs? Bruin Tactics & Training Tips 2 12-01-2007 10:01 AM
MAKE IT BIG...KIT PROBS ANY1 HELP? matty566 Football Manager 1 11-22-2007 04:51 PM
probs please help daz10_uk Skinning Hideout 4 11-16-2007 10:30 PM
Radestock mod for FM2008 adadsa Skinning Hideout 0 10-26-2007 08:32 PM
tribal tutorial probs scorpion General Photoshop Board 11 07-15-2003 02:11 AM

» Online Users: 27
0 members and 27 guests
No Members online
Most users ever online was 2,128, 07-21-2008 at 08:27 PM.

All times are GMT +1. The time now is 11:21 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
Fitness.com | Weight Loss | Training & Fitness | BodyBuilding | Chinese | Spanish | French | Germany | Italian |