Jump to content

Edit History

Please note that revisions older than 365 days are pruned and will no longer show here
JoeSloeMoe

JoeSloeMoe

Hi RippedWarrior,

 

>>does anything come to mind why I would lose paging?

The line item for the 5th entry is actually underneath the paging icon. When the 5th line is under the paging icon one or both wont work.

The line:

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set>

Tells the system not to hide the last line (5) under the paging icon. When you tell the system not to superimpose the two together it will only display up to 4 line items and the rest on the next page so that it can fit them in. To fit 5 in a page I changed the height of the line entries so all 5 could fit in addition to the paging icon.

 

In the mod code, below the hidden_entries_with_paging line there is also this: (in windows.xml)

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->

and

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">

 

If you look through that bit of code, towards the bottom) you can see:

<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
            <skill_perk_level width="646" height="73" /> <!--was 80-->
</grid>

This is where I changed the height of the line entries so that all 5 would fit on the page in addition  to the paging icon.

 

The other thing is its hard to tell which mod is loading first - one may be overwriting the other for that piece of code.

You can try add the other 2 pieces of code (the <set> commands) that I have in the mod to the other mod to see if that helps: (dont know if the first line setting hidden_entries_with_paging to 0 is needed)

This may change the display to more of what you were expecting as it reduces the height of the line entries to fit 5 in a page.

Cheers

 

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set> <!--otherwise the 5th row wont show when the paging is showing-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">
		<!--no changes unless marked-->
		<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
		<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

		<rect name="tableHeader" pos="0,0" width="644" height="43">
			<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
			<rect depth="1" pos="0,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
			</rect>
			<rect depth="1" pos="72,0" width="503" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
			</rect>
			<rect depth="1" pos="572,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
			</rect>
		</rect>
		<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
			<skill_perk_level width="646" height="73" /> <!--was 80-->
		</grid>
	</set>	

 

 

 

 

 

 

 

 

JoeSloeMoe

JoeSloeMoe

Hi RippedWarrior,

 

>>does anything come to mind why I would lose paging?

The line item for the 5th entry is actually underneath the paging icon. When the 5th line is under the paging icon one or both wont work.

The line:

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set>

Tells the system not to hide the last line (5) under the paging icon. When you tell the system not to superimpose the two together it will only display up to 4 line items and the rest on the next page so that it can fit them in. To fit 5 in a page I changed the height of the line entries so all 5 could fit in addition to the paging icon.

 

In the mod code, below the hidden_entries_with_paging line there is also this: (in windows.xml)

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->

and

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">

 

If you look through that bit of code you can see:

<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
            <skill_perk_level width="646" height="73" /> <!--was 80-->
</grid>

This is where I changed the height of the line entries so that all 5 would fit on the page in addition  to the paging icon.

 

The other thing is its hard to tell which mod is loading first - one may be overwriting the other for that piece of code.

You can try add the other 2 pieces of code (the <set> commands) that I have in the mod to the other mod to see if that helps: (dont know if the first line setting hidden_entries_with_paging to 0 is needed)

This may change the display to more of what you were expecting as it reduces the height of the line entries to fit 5 in a page.

Cheers

 

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set> <!--otherwise the 5th row wont show when the paging is showing-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">
		<!--no changes unless marked-->
		<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
		<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

		<rect name="tableHeader" pos="0,0" width="644" height="43">
			<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
			<rect depth="1" pos="0,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
			</rect>
			<rect depth="1" pos="72,0" width="503" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
			</rect>
			<rect depth="1" pos="572,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
			</rect>
		</rect>
		<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
			<skill_perk_level width="646" height="73" /> <!--was 80-->
		</grid>
	</set>	

 

 

 

 

 

 

 

 

JoeSloeMoe

JoeSloeMoe

Hi RippedWarrior,

 

>>does anything come to mind why I would lose paging?

The line item for the 5th entry is actually underneath the paging icon. When the 5th line is under the paging icon one or both wont work.

The line:

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set>

Tells the system not to hide the last line (5) under the paging icon. When you tell the system not to superimpose the two together it will only display up to 4 line items and the rest on the next page so that it can fit them in. To fit 5 in a page I changed the height of the line entries so all 5 could fit in addition to the paging icon.

 

In the mod code, below the hidden_entries_with_paging line there is also this: (in windows.xml)

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->

and

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">

 

If you look through that bit of code you can see:

<skill_perk_level width="646" height="73" /> <!--was 80-->

This is where I changed the height of the line entries so that all 5 would fit on the page in addition  to the paging icon.

 

The other thing is its hard to tell which mod is loading first - one may be overwriting the other for that piece of code.

You can try add the other 2 pieces of code (the <set> commands) that I have in the mod to the other mod to see if that helps: (dont know if the first line setting hidden_entries_with_paging to 0 is needed)

This may change the display to more of what you were expecting as it reduces the height of the line entries to fit 5 in a page.

Cheers

 

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set> <!--otherwise the 5th row wont show when the paging is showing-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">
		<!--no changes unless marked-->
		<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
		<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

		<rect name="tableHeader" pos="0,0" width="644" height="43">
			<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
			<rect depth="1" pos="0,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
			</rect>
			<rect depth="1" pos="72,0" width="503" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
			</rect>
			<rect depth="1" pos="572,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
			</rect>
		</rect>
		<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
			<skill_perk_level width="646" height="73" /> <!--was 80-->
		</grid>
	</set>	

 

 

 

 

 

 

 

 

JoeSloeMoe

JoeSloeMoe

Hi RippedWarrior,

 

>>does anything come to mind why I would lose paging?

The line item for the 5th entry is actually underneath the paging icon. When the 5th line is under the paging icon one or both wont work.

The line:

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set>

Tells the system not to hide the last line (5) under the paging icon. When you tell the system not to superimpose the two together it will only display up to 4 line items and the rest on the next page so that it can fit them in. To fit 5 in a page I changed the height of the line entries so all 5 could fit in addition to the paging icon.

 

In the mod code, below the hidden_entries_with_paging line there is also this: (in windows.xml)

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->

and

<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">

 

If you look through that bit of code you can see:

<skill_perk_level width="646" height="73" /> <!--was 80-->

This is where I changed the height of the line entries so that all 5 would fit on the page in addition  to the paging icon.

 

The other thing is its hard to tell which mod is loading first - one may be overwriting the other for that piece of code.

You can try add the other 2 lines that I have in the mod to the other mod to see if that helps: (dont know if the first line setting hidden_entries_with_paging to 0 is needed)

This may change the display to more of what you were expecting as it reduces the height of the line entries to fit 5 in a page.

Cheers

 

<set xpath="/windows/window[@name='windowSkillPerkInfo']/@hidden_entries_with_paging">0</set> <!--otherwise the 5th row wont show when the paging is showing-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='pagerBox']/@pos">3,-686</set> <!--was 639-->
	<set xpath="/windows/window[@name='windowSkillPerkInfo']/rect/rect[@name='tableBox']">
		<!--no changes unless marked-->
		<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
		<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

		<rect name="tableHeader" pos="0,0" width="644" height="43">
			<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
			<rect depth="1" pos="0,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
			</rect>
			<rect depth="1" pos="72,0" width="503" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
			</rect>
			<rect depth="1" pos="572,0" width="75" height="40">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
				<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
			</rect>
		</rect>
		<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="73" repeat_content="true"> <!--was cell_height="80"-->
			<skill_perk_level width="646" height="73" /> <!--was 80-->
		</grid>
	</set>	

 

 

 

 

 

 

 

 

×
×
  • Create New...