I’ve started to look “where wizards fear to tread�? inside the project file to see if there is a way to edit out the erroneous text entries in a safe manner.
Looking at the button “IPAddressButton�? from within the NetworkSetup3 (extract below) screen I see that the text component uses text reference “SingleUseId75�? which is correctly set to the CalibrLight36 font.
However the wildcard also has a text reference of “SingleUseId76�? which is using the font Calibri50.
There is no control to change the font of the wildcard entry to something different from the text entry so it must have inherited it as the button was cut & paste from another screen and it may have been a ResourceID at that time.
So I can see two options to try and resolve my project to a working state:
1. Go through the project file and set the TextId entries for all of the wildcards to match that of the TextId of their parent control
2. Go through the text.xlsx file and change the entries for the wildcard singleuse entries to use the same entries as their parent control
So you think either of these will work, and which would be the safest or most likely to ensure a future designer correctly cleans itself up?
{
"Alpha": 255,
"ButtonTrigger": {
"Type": "ClickButtonTrigger"
},
"ButtonStyles": [
{
"Type": "TextButtonStyle",
"X": 0,
"Y": 8,
"TextId": "SingleUseId75",
"TextRotation": "0",
"Wildcard1": {
"TextId": "SingleUseId76",
"UseBuffer": true,
"BufferSize": 20
},
"ColorReleased": {
"Red": 255,
"Green": 255,
"Blue": 255
},
"ColorPressed": {
"Red": 255,
"Green": 10,
"Blue": 10
}
},
{
"Type": "ImageButtonStyle",
"X": 322,
"Y": 0,
"LockFlexButtonToImageSize": false,
"ImageReleased": "blue55right.inc.png",
"ImagePressed": "yellow55right.inc.png"
},
{
"Type": "IconButtonStyle",
"X": 0,
"Y": 0,
"IconReleased": "blue55left.inc.png",
"IconPressed": "yellow55left.inc.png"
},
{
"Type": "BoxWithBorderButtonStyle",
"X": 0,
"Y": 0,
"Width": 330,
"Height": 55,
"LockToFlexButtonSize": true,
"BorderSize": 0,
"ColorReleased": {
"Red": 0,
"Green": 176,
"Blue": 240
},
"ColorPressed": {
"Red": 255,
"Green": 255,
"Blue": 0
},
"ColorBorderReleased": {
"Red": 0,
"Green": 176,
"Blue": 240
},
"ColorBorderPressed": {
"Red": 255,
"Green": 255,
"Blue": 1
}
}
],
"Name": "ipAddressButton",
"X": 310,
"Y": 230,
"Width": 330,
"Height": 55,
"Type": "FlexButton",
"Visible": true,
"Draggable": false,
"Clickable": false,
"Fadeable": false,
"Moveable": false
},
regards
__________________________________________________
Brian Shankland
Icon Research Ltd
3 Raw Holdings | East Calder | West Lothian | EH53 0HY | UK
T: +44 1506 885000 Ext 226
F: +44 1506 885501
www.iconresearch.co.uk<>>