Jump to content

Player personal details panel


kun^^
 Share

Recommended Posts

Hello,

 

Need some help guys.

Can't manage to set the signature of the player to the bottom of the container for some reason. Or for somewhere else ...

103399764ba20f812a6e4084a7b99ef2.png

I'm missing somethig for sure!

panel should_force_refresh="true">
<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0" />
	<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0" />
	<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />
	<widget class="player_reports_overview_summary_panel" file="player/yacs knowledge" height="50" inset="0" offset="0" gap="0"/>
	
	

	<container height="280">

	
		<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />
		<!--<widget class="picture" file="yacs/backgrounds/ppob" transparancy="1.0" _image_alignment="top, centre_x" scale_picture="true" keep_aspect_ratio="false" _height="220"/>-->
		<container>
					<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />
					
		
					<widget class="picture" file="custom/cdbg" scale_picture="false" keep_aspect_ratio="false" red_replacement="primary" blue_replacement="secondary" transparency="1"/>
						
			
		
		</container>
			
		<widget class="kit_icon" file="generic/kit icon" kit_path="default" kit_number_path="default" id="kIIC" width="125" height="125" keep_aspect_ratio="true" scale_picture="true" >
		<animation class="slide_in_right_animation" duration="1.0" tween="ease_out" high_priority="true" />
			<layout class="stick_to_sides_attachment" alignment="vertical" inset="40" />
			<layout class="stick_to_sides_attachment" alignment="left" inset="65" />
			
			<record id="object_property">
				<list id="get_properties">
					<record>
						<integer id="get_property" value="objt" />
						<integer id="set_property" value="objt" />
					</record>
				</list>
			</record>
		</widget>
		
		

		 <container class="icon_box" icon="">
          
			  
			  <widget class="player_status_all_button" id="psAB" auto_size="all" alignment="bottom" offset_x="0" offset_y="4" gap="2" maximised="false" max_items_per_row_or_column="5" embed_in_frame="true">
			  <animation class="slide_in_right_animation" duration="0.3" tween="ease_out" high_priority="true" />
							<layout class="centre_in_parent_attachment" alignment="horizontal" offset="123" />
						<layout class="stick_to_sides_attachment" alignment="top" inset="170"/>
						
							  <record id="object_property">
								  <integer id="get_property" value="Pnfa" />
							  </record>
					</widget>
			</container>	
			
			
		<container>
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" offset="0" gap="0" apply_to_children="true" />
			<layout class="arrange_vertical_attachment" layout="-1,-6,-1"/>
			<container />
						<animation class="slide_in_left_animation" duration="0.2" tween="ease_out" high_priority="true" />
			<widget class="picture" id="picM" scale_picture="true" keep_aspect_ratio="true" image_alignment="left,bottom">
				<attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
					<list id="value">
						<boolean value="false" />
					</list>
				</attachment>
				<record id="object_property">
					<list id="get_properties">
						<record>
							<integer id="get_property" value="fcgn" />
						</record>
						<record>
							<integer id="get_property" value="Pfke" />
						</record>
						<record>
							<integer id="get_property" value="prpc" />
							<integer id="set_property" value="valu" />
						</record>
					</list>
				</record>
			</widget>
			<container />
			
			
		</container>

				
				
				
				
	<widget class="person_button" id="pnam" auto_size="vertical" alignment="bottom,centre_y,can_scale" font="signature" colour="gold" style="shadowed" multiline="false" size="35">
	
				<record id="object_property">
					<integer id="get_property" value="objt" />
				</record>
			</widget>
			


	</container>
	
</panel>

 

Edited by kun^^
Link to post
Share on other sites

29 minutos atrás, Wells disse:

Not exactly sure where you want, maybe try removing auto_size="vertical" from the last widget.

It worked, But now i can't lower it down for the bottom of the player picture!

Inkedcdaf0b6f8a25b1e86a7d1c192c6bdc7b_LI.jpg.76bf0c4014e532658398d8b3fc5a565c.jpg

Link to post
Share on other sites

11 minutos atrás, Wells disse:

Try adding this code below the widget 


<layout class="stick_to_sides_attachment" alignment="top" inset="0" />

And try to mess around with the inset  value, until you get the spot you want it to be.

Thank you @Wells it worked

 

https://i.gyazo.com/6fca6078c79b4baaed6809396ffae6fc.mp4

 

ab2b948f81294cabfea9470e72a14ba4.png

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