klaasjan Posted January 18, 2020 Share Posted January 18, 2020 I have combined TCS's and Rensie's player overview settings to get to this monstrosity mainly because I badly need to see detailed Pro-Cons every time I'm checking a player and I would like to insert another row of 4 small panels before the bottom one as I think that space can be recycled for them. What do I need to add to this? <panel> <layout class="arrange_vertical_attachment" layout="100, 392, -1" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" /> <!-- Header with portrait & important info--> <widget class="player_personal_details_panel" id="ppdp"> <record id="object_property" get_property="objt" set_property="objt"/> </widget> <!-- Middle row of large panels --> <container class="plain_box"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <container class="horizontal_adaptive_container" offset="0" inset="0" gap="24" draw_vertical_dividers="true"> <container class="client_object_viewer_selector_panel" default_width="480" minimum_width="280" priority="2" file="player/player overview big selector panel" id="big0" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> <container minimum_width="640" default_width="780" priority="1"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="player_attributes_panel" id="patt" file="player/player attributes panel" late_loading="true" dont_allow_custom_attribute_change_ranges="true"> <translation id="title" translation_id="229822" type="use" value="Attributes" /> <record id="object_property" get_property="objt" set_property="objt"/> </widget> </container> <container class="client_object_viewer_selector_panel" default_width="-1" minimum_width="280" priority="1" file="player/player overview big selector panel" id="big2" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> <container class="client_object_viewer_selector_panel" default_width="-1" minimum_width="280" priority="2" file="player/player overview big selector panel" id="big3" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> </container> </container> <container> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <!-- Smaller panels --> <container class="vertical_adaptive_container" offset="0" inset="0" mode="distribute_equally" draw_horizontal_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <!-- 4 small panels --> <container class="horizontal_adaptive_container" offset="0" inset="0" minimum_height="92" priority="2" draw_vertical_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <record id="default_properties" file="player/player overview small selector panel" save_session_state="true" minimum_width="290" default_width="-1" /> <container class="client_object_viewer_selector_panel" id="cos3" priority="1" navigation_container="true" > <integer id="default_for_unemployed_managers" value="ppsp"/> <integer id="default_for_international_managers_other_team" value="ppsp"/> <integer id="default_for_everyone_else" value="ppsp"/> <integer id="default_for_versus_mode" value="ppsp"/> </container> <container class="client_object_viewer_selector_panel" id="cos4" priority="2" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Phap"/> <integer id="default_for_international_managers_other_team" value="Phap"/> <integer id="default_for_everyone_else" value="Phap"/> <integer id="default_for_versus_mode" value="Phap"/> </container> <container class="client_object_viewer_selector_panel" id="cos5" priority="3" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Ppla"/> <integer id="default_for_international_managers_other_team" value="Ppla"/> <integer id="default_for_everyone_else" value="Ppla"/> <integer id="default_for_versus_mode" value="Ppla"/> </container> <container class="client_object_viewer_selector_panel" id="cos6" priority="4" navigation_container="true" > <integer id="default_for_unemployed_managers" value="pbop"/> <integer id="default_for_international_managers_other_team" value="pbop"/> <integer id="default_for_everyone_else" value="pbop"/> <integer id="default_for_versus_mode" value="pbop"/> </container> </container> <!-- 2 small panels and fitness--> <container minimum_height="67" priority="1"> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" /> <record id="mask" alignment="vertical, left" top="180" bottom="140" width="200" file="backgrounds/pattern" offset_x="-300" offset_y="50"/> <container class="horizontal_adaptive_container" offset="0" inset="0" draw_vertical_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <container class="client_object_viewer_selector_panel" id="cos7" file="player/player overview small selector panel" save_session_state="true" minimum_width="310" default_width="-1" priority="1" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Pfor"/> <integer id="default_for_international_managers_other_team" value="Pfor"/> <integer id="default_for_everyone_else" value="Pfor"/> <integer id="default_for_versus_mode" value="Pfor"/> </container> <!-- Season stats--> <container class="main_box" width="650" priority="2" default_width="-2" navigation_container="true" > <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" /> <widget class="player_additional_stats_panel" id="pcsp" file="player/player additional stats small"> <record id="object_property"> <list id="get_properties"> <!-- Hide this panel if player is in inactive league--> <record id="object_property" get_property="objt" set_property="objt"/> <record id="object_property" get_property="Pila" set_property="hidn"/> </list> </record> </widget> <widget class="player_stats_panel" id="pssp" file="player/player stats small"> <record id="object_property"> <list id="get_properties"> <!-- Show this panel if player is in inactive league--> <record id="object_property" get_property="Pila" set_property="Shwn"/> <record id="object_property" get_property="objt" set_property="objt"/> </list> </record> </widget> </container> <container class="client_object_viewer_selector_panel" id="cos8" file="player/player overview small selector panel" save_session_state="true" minimum_width="310" default_width="-1" priority="3" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Pcrs"/> <integer id="default_for_international_managers_other_team" value="Pcrs"/> <integer id="default_for_everyone_else" value="Pcrs"/> <integer id="default_for_versus_mode" value="Pcrs"/> </container> </container> </container> </container> </container> </panel> Also, how do I get rid of the panel borders? Thank you! Link to post Share on other sites More sharing options...
wkdsoul Posted January 18, 2020 Share Posted January 18, 2020 The code is already there, you resolution has moved them out. Adjust the value 92 in that line, to a smaller number <container class="horizontal_adaptive_container" offset="0" inset="0" minimum_height="92" priority="2" draw_vertical_dividers="true"> (or you shorten the attriibutes panels with middle number in) layout="100, 392, -1" 1 Link to post Share on other sites More sharing options...
klaasjan Posted January 18, 2020 Author Share Posted January 18, 2020 Thank you! It's much better, but still need to get rid of those ugly borders (how can I do that?). Meanwhile I'm having problems with panels not remembering their chosen position after leaving player profile: Spoiler in player overview panel: <panel> <layout class="arrange_vertical_attachment" layout="100, 367, -1" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" /> <!-- Header with portrait & important info--> <widget class="player_personal_details_panel" id="ppdp"> <record id="object_property" get_property="objt" set_property="objt"/> </widget> <!-- Middle row of large panels --> <container class="plain_box"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <container class="horizontal_adaptive_container" offset="0" inset="0" gap="24" draw_vertical_dividers="true"> <container class="client_object_viewer_selector_panel" default_width="480" minimum_width="280" priority="2" file="player/player overview big selector panel" id="big0" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> <container minimum_width="640" default_width="780" priority="1"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="player_attributes_panel" id="patt" file="player/player attributes panel" late_loading="true" dont_allow_custom_attribute_change_ranges="true"> <translation id="title" translation_id="229822" type="use" value="Attributes" /> <record id="object_property" get_property="objt" set_property="objt"/> </widget> </container> <container class="client_object_viewer_selector_panel" default_width="-1" minimum_width="280" priority="1" file="player/player overview big selector panel" id="big2" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> <container class="client_object_viewer_selector_panel" default_width="-1" minimum_width="280" priority="2" file="player/player overview big selector panel" id="big3" > <integer id="default_for_unemployed_managers" value="paAn"/> <integer id="default_for_international_managers_other_team" value="paAn"/> <integer id="default_for_everyone_else" value="paAn"/> <integer id="default_for_versus_mode" value="paAn"/> </container> </container> </container> <!-- Smaller panels row 1--> <container> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <container class="vertical_adaptive_container" offset="0" inset="0" mode="distribute_equally" draw_horizontal_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <!-- 4 small panels --> <container class="horizontal_adaptive_container" offset="0" inset="0" minimum_height="30" priority="2" draw_vertical_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <record id="default_properties" file="player/player overview small selector panel" save_session_state="true" minimum_width="290" default_width="-1" /> <container class="client_object_viewer_selector_panel" id="cos3" priority="1" navigation_container="true" > <integer id="default_for_unemployed_managers" value="ppsp"/> <integer id="default_for_international_managers_other_team" value="ppsp"/> <integer id="default_for_everyone_else" value="ppsp"/> <integer id="default_for_versus_mode" value="ppsp"/> </container> <container class="client_object_viewer_selector_panel" id="cos4" priority="2" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Phap"/> <integer id="default_for_international_managers_other_team" value="Phap"/> <integer id="default_for_everyone_else" value="Phap"/> <integer id="default_for_versus_mode" value="Phap"/> </container> <container class="client_object_viewer_selector_panel" id="cos5" priority="3" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Ppla"/> <integer id="default_for_international_managers_other_team" value="Ppla"/> <integer id="default_for_everyone_else" value="Ppla"/> <integer id="default_for_versus_mode" value="Ppla"/> </container> <container class="client_object_viewer_selector_panel" id="cos6" priority="4" navigation_container="true" > <integer id="default_for_unemployed_managers" value="pbop"/> <integer id="default_for_international_managers_other_team" value="pbop"/> <integer id="default_for_everyone_else" value="pbop"/> <integer id="default_for_versus_mode" value="pbop"/> </container> </container> <!-- Smaller panels row 1--> <container class="vertical_adaptive_container" offset="0" inset="0" mode="distribute_equally" draw_horizontal_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <!-- 4 small panels --> <container class="horizontal_adaptive_container" offset="0" inset="0" minimum_height="30" priority="2" draw_vertical_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <record id="default_properties" file="player/player overview small selector panel" save_session_state="true" minimum_width="290" default_width="-1" /> <container class="client_object_viewer_selector_panel" id="cos3" priority="1" navigation_container="true" > <integer id="default_for_unemployed_managers" value="ppsp"/> <integer id="default_for_international_managers_other_team" value="ppsp"/> <integer id="default_for_everyone_else" value="ppsp"/> <integer id="default_for_versus_mode" value="ppsp"/> </container> <container class="client_object_viewer_selector_panel" id="cos4" priority="2" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Phap"/> <integer id="default_for_international_managers_other_team" value="Phap"/> <integer id="default_for_everyone_else" value="Phap"/> <integer id="default_for_versus_mode" value="Phap"/> </container> <container class="client_object_viewer_selector_panel" id="cos5" priority="3" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Ppla"/> <integer id="default_for_international_managers_other_team" value="Ppla"/> <integer id="default_for_everyone_else" value="Ppla"/> <integer id="default_for_versus_mode" value="Ppla"/> </container> <container class="client_object_viewer_selector_panel" id="cos6" priority="4" navigation_container="true" > <integer id="default_for_unemployed_managers" value="pbop"/> <integer id="default_for_international_managers_other_team" value="pbop"/> <integer id="default_for_everyone_else" value="pbop"/> <integer id="default_for_versus_mode" value="pbop"/> </container> </container> </container> <!-- 2 small panels and fitness--> <container minimum_height="25" priority="1"> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" /> <record id="mask" alignment="vertical, left" top="180" bottom="140" width="70" file="backgrounds/pattern" offset_x="-300" offset_y="50"/> <container class="horizontal_adaptive_container" offset="0" inset="0" draw_vertical_dividers="true"> <global id="gap" name="ui.main_box_gap"/> <container class="client_object_viewer_selector_panel" id="cos7" file="player/player overview small selector panel" save_session_state="true" minimum_width="200" default_width="-1" priority="1" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Pfor"/> <integer id="default_for_international_managers_other_team" value="Pfor"/> <integer id="default_for_everyone_else" value="Pfor"/> <integer id="default_for_versus_mode" value="Pfor"/> </container> <!-- Season stats--> <container class="main_box" width="200" priority="2" default_width="-2" navigation_container="true" > <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" /> <widget class="player_additional_stats_panel" id="pcsp" file="player/player additional stats small"> <record id="object_property"> <list id="get_properties"> <!-- Hide this panel if player is in inactive league--> <record id="object_property" get_property="objt" set_property="objt"/> <record id="object_property" get_property="Pila" set_property="hidn"/> </list> </record> </widget> <widget class="player_stats_panel" id="pssp" file="player/player stats small"> <record id="object_property"> <list id="get_properties"> <!-- Show this panel if player is in inactive league--> <record id="object_property" get_property="Pila" set_property="Shwn"/> <record id="object_property" get_property="objt" set_property="objt"/> </list> </record> </widget> </container> <container class="client_object_viewer_selector_panel" id="cos8" file="player/player overview small selector panel" save_session_state="true" minimum_width="200" default_width="-1" priority="3" navigation_container="true" > <integer id="default_for_unemployed_managers" value="Pcrs"/> <integer id="default_for_international_managers_other_team" value="Pcrs"/> <integer id="default_for_everyone_else" value="Pcrs"/> <integer id="default_for_versus_mode" value="Pcrs"/> </container> </container> </container> </container> </container> </panel> Spoiler in player overview small selector: <panel navigation_container="true"> <container id="SUBP"> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="8" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> </container> <widget class="popup_button" id="popv" auto_size="horizontal" height="20" click_event="msis" appearance="buttons/custom/customise panel/button" fixed="true"> <layout class="stick_to_sides_attachment" alignment="right,top" inset="12,8" /> </widget> <widget class="player_physical_stats_panel" id="ppsp" late_loading="true"> <translation id="title" translation_id="247571" type="use" value="Fitness" /> </widget> <widget class="client_object_viewer_xml_panel" file="widgets/client object progress graph" section="Pgrg" id="Pgrg" late_loading="true"> <translation id="title" translation_id="289978" type="use" value="Progress[COMMENT:person screen; achievements section; heading for achievements panel - cup progress]" /> </widget> <widget class="player_bans_overview_panel" section="PHst" id="pbop" late_loading="true"> <translation id="title" translation_id="247569" type="use" value="Bans" /> </widget> <widget class="player_transfer_information_small_panel" id="ptri" late_loading="true"> <translation id="title" translation_id="227953" type="use" value="Transfer Status" /> </widget> <widget class="person_happiness_panel" file="person/person happiness profile" id="Phap" late_loading="true"> <translation id="title" translation_id="447669" type="use" value="Dynamics[COMMENT: Manager Main/Top Menu; link to Dynamics screen showcasing a representation of interpersonal relationships at the club]" /> </widget> <widget class="person_happiness_panel" file="person/person happiness profile plans" id="Ppla" late_loading="true"> <translation id="title" translation_id="365298" type="use" value="Plans[COMMENT: FR 512; person happiness panel; title for person future plans section]" /> </widget> <widget class="person_chemistry_relationship_panel" file="person/person playing time pathway profile" id="PPtp" late_loading="true"> <translation id="title" translation_id="491902" type="use" value="Playing Time Pathway[COMMENT: AREA: Splash Screen; SUB-AREA: What's New; FR-BN: n/a; TONE: Informal; CHARLIMIT: None; REF-ID: n/a; NOTE: splash screen indicating what's new in this version of the game]" /> </widget> <widget class="player_form_summary_panel" id="Pfor" file="player/player form summary panel profile" late_loading="true"> <translation id="title" translation_id="308194" type="use" value="Form[COMMENT: team form 5 games, all competitions, short version]" /> </widget> <widget class="player_training_stats_panel" id="pTTS" late_loading="true" valid_for_international_managers_other_team="false" valid_for_other_team_managers="false" valid_for_unemployed_managers="false"> <translation id="title" translation_id="242773" type="use" value="Training" /> </widget> <widget class="player_contract_panel" id="pcon" file="player/player contract small" late_loading="true"> <translation id="title" translation_id="230163" type="use" value="Contract" /> </widget> <widget class="player_history_achievements_panel" id="pac1" file="player/player history achievements small" late_loading="true"> <translation id="title" translation_id="435775" type="use" value="Career Milestones[COMMENT: was previously ID 329749 Career Achievements, rewording as it's a better term for the content on the screen]" /> </widget> <widget class="playing_history_summary_panel" file="player/playing history summary small" id="Pcrs" late_loading="true"> <translation id="title" translation_id="247605" type="use" value="Career Stats" /> </widget> <widget class="player_scout_reports_panel" id="pscR" file="player/player scout report comparison small" late_loading="true"> <translation id="title" translation_id="248428" type="use" value="Comparison" /> </widget> <widget class="player_transfer_information_small_panel" id="ptri" late_loading="true"> <translation id="title" translation_id="227953" type="use" value="Transfer Status" /> </widget> <!-- procons --> <widget class="player_scout_reports_panel" id="tabx" file="player/player scout report small procons" valid_for_unemployed_managers="false" valid_for_international_managers_other_team="false" late_loading="true" default_width="-1"> <translation id="title" type="use" value="Coach report" alignment="centre,can_scale" /> <record id="object_property"> <integer id="get_property" value="objt"/> <integer id="set_property" value="objt"/> </record> </widget> </panel> Link to post Share on other sites More sharing options...
wkdsoul Posted January 18, 2020 Share Posted January 18, 2020 The divider lines? change all the code below to false draw_vertical_dividers="true" 1 Link to post Share on other sites More sharing options...
klaasjan Posted January 18, 2020 Author Share Posted January 18, 2020 Done! Thank you again! How do I get rid of that bug with panels not remembering their chosen type after leaving player profile? (Ie - selected trasnfer status + training etc but they are not remembered) Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now