Skip to content

Commit 686b073

Browse files
author
Wil Thieme
authored
Merge pull request #5 from ZarestiaDev/zarestia-patch1
Improved anchoring for buttons
2 parents 9b333f5 + 8ada50c commit 686b073

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

campaign/record_char_main.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<readonly />
3232
</number_charabilitydamage>
3333
<button_abilperms name="strengthpermlist">
34-
<anchored to="abilityframe" position="insidetopleft" offset="265,27" />
34+
<anchored to="strengthperm" />
3535
<target>strength</target>
3636
</button_abilperms>
3737
<number_charabilitybonus name="strengthbonus" source="abilities.strength.bonus">
@@ -67,7 +67,7 @@
6767
<readonly />
6868
</number_charabilitydamage>
6969
<button_abilperms name="dexteritypermlist">
70-
<anchored to="abilityframe" position="insidetopleft" offset="265,60" />
70+
<anchored to="dexterityperm" />
7171
<target>dexterity</target>
7272
</button_abilperms>
7373
<number_charabilitybonus name="dexteritybonus" source="abilities.dexterity.bonus">
@@ -103,7 +103,7 @@
103103
<readonly />
104104
</number_charabilitydamage>
105105
<button_abilperms name="constitutionpermlist">
106-
<anchored to="abilityframe" position="insidetopleft" offset="265,92" />
106+
<anchored to="constitutionperm" />
107107
<target>constitution</target>
108108
</button_abilperms>
109109
<number_charabilitybonus name="constitutionbonus" source="abilities.constitution.bonus">
@@ -139,7 +139,7 @@
139139
<readonly />
140140
</number_charabilitydamage>
141141
<button_abilperms name="intelligencepermlist">
142-
<anchored to="abilityframe" position="insidetopleft" offset="265,124" />
142+
<anchored to="intelligenceperm" />
143143
<target>intelligence</target>
144144
</button_abilperms>
145145
<number_charabilitybonus name="intelligencebonus" source="abilities.intelligence.bonus">
@@ -175,7 +175,7 @@
175175
<readonly />
176176
</number_charabilitydamage>
177177
<button_abilperms name="wisdompermlist">
178-
<anchored to="abilityframe" position="insidetopleft" offset="265,156" />
178+
<anchored to="wisdomperm" />
179179
<target>wisdom</target>
180180
</button_abilperms>
181181
<number_charabilitybonus name="wisdombonus" source="abilities.wisdom.bonus">
@@ -211,7 +211,7 @@
211211
<readonly />
212212
</number_charabilitydamage>
213213
<button_abilperms name="charismapermlist">
214-
<anchored to="abilityframe" position="insidetopleft" offset="265,188" />
214+
<anchored to="charismaperm" />
215215
<target>charisma</target>
216216
</button_abilperms>
217217
<number_charabilitybonus name="charismabonus" source="abilities.charisma.bonus">
@@ -341,7 +341,7 @@
341341
</template>
342342
<template name="button_abilperms" merge="join">
343343
<buttoncontrol>
344-
<anchored width="20" height="20" />
344+
<anchored position="right" width="20" height="20" />
345345
<state icon="button_details" pressed="button_details_down" />
346346
<script>
347347
function onButtonPress()

0 commit comments

Comments
 (0)