Just pushed a few more 5E data updates.
JPG
Printable View
Just pushed a few more 5E data updates.
JPG
While I have a few more small items to clear up, my plan is to push v3.1.3 within the week.
So, heads up to the extension developers that they should check their extensions with v3.1.3. I've updated the second post with the list of all files modified in this update.
Regards,
JPG
Combobox updates are great! However there are still few quirks in the latest version:
- In case of uneditable/readonly databasenodes you can still click the combobox and the list appears (but selection does nothing). In addition combobox_button is also visible
- For reason or another I cannot invoke combobox's custom setReadOnly function. Whenever I call it the call seems to go to stringcontrol's setReadOnly (or something similar) and custom action is not performed
- Could there be way to setup combobox's frames to be different in readOnly and in normal states? Possible the same way as listframes is implemented. Personally I would love to see that combobox removes its frames the same way as other item sheet's fields does when it is in readonly state.
Updates
- [CoreRPG+] Removed unused eye toggle in campaign language list.
- [CoreRPG+] The Skip hidden actor option will now skip non-friendly hidden combatants, instead of hidden NPCs specifically. (For friendly NPCs and enemy PC records)
- Extra space characters being added when loading formatted text which used text formatting (bold, italic, underline). Fixed.
- [5E] The options to show token health on tooltip were not working. Fixed.
- [DEV] The 'combobox' template will default to read only if underlying database node is read only.
- [DEV] Combo box templates changed to use setComboBoxReadOnly and isComboBoxReadOnly, since the underlying control functions can't be overwritten.
- [DEV] Added framehidereadonly tag for combo box templates mimicking frame tag hidereadonly option. (Must use frame name and frame offset expanded tags vs. attributes)
Cheers,
JPG
"Ask and ye shall receive", ay Moon?! :)
Great updates! Combobox's readonly state works now as expected. Still there is some issues with framehidereadonly because if I use default comboboxc template I get script error: Script Error: [string "common/scripts/combobox.lua"]:137: attempt to index field '?' (a boolean value)
I believe this occurs because comboboxc defines frame with <frame name="fieldlight" offset="7,5,7,5" /> instead of
<frame>
<name>fieldlight</name>
<offset>7,5,7,5</offset>
</frame>
By default both combobox templates are defined to have framehidereadonly. How can I remove this definition if I do not want to remove frames with readonly state?
Thanks to Ikael for sounding out the new combox templates; they are much better for his input.
Updates
- [CoreRPG+] Added tooltip to language selection box.
- [CoreRPG+] Remove speech bubble icons in campaign languages list
- [5E] Official Wizards of the Coast D&D language font extensions added for anyone who owns D&D products containing the Wizards theme extension.
- [DEV] windowcontrol: In setFrame function, added hidereadonly parameter
- [DEV] Combo box templates now respect hidereadonly parameter in frame definition.
- [DEV] Combo box templates no longer hide base frame by default.
- [DEV] The comboboxc template generates script errors. Fixed.
Regards,
JPG
Moon, the Combobox Template is probably going to need something like this:
CheersCode:function setComboBoxVisible(bState)
if ctrlButton then
ctrlButton.setVisible(bState);
end
setVisible(bState);
end
First of all thank Moon Wizard for elegant combobox template, it's so easy to use now!
I would also second for dulux-oz's idea. I have been dealing with it with following code in combobox:
setVisible(bVisible)
setComboBoxReadOnly(not bVisible)
but dedicated function to do that would be great. The function should also hide the list if it's open.
Updates
- [DEV][CoreRPG+] Added setComboBoxVisible function to combobox templates.
JPG