Change font.style affects position
Hello,
After my report-layout is loaded, I change the font.style with the following code :
// At this point, TppLabel(Components[c]).left = 90,7
TppLabel(Components[c]).font.style := TppLabel(Components[c]).font.style -[fsbold];
// At this point, TppLabel(Components[c]).left = 192,8
this code has been working for years without problems. Has something changed in the last version that affacts this ?
And how can I avoid this ?
kind reagrds,
Dirk Janssens,.
After my report-layout is loaded, I change the font.style with the following code :
// At this point, TppLabel(Components[c]).left = 90,7
TppLabel(Components[c]).font.style := TppLabel(Components[c]).font.style -[fsbold];
// At this point, TppLabel(Components[c]).left = 192,8
this code has been working for years without problems. Has something changed in the last version that affacts this ?
And how can I avoid this ?
kind reagrds,
Dirk Janssens,.
Comments
https://youtu.be/aNShbcStScY
kind regards,
Dirk Janssens.
I just sent you a patch for RB 21.03 that resolves the issue.
This behavior occurs for specific cases, for example when Label/DBText AutoSize False and TextAlignment RightJustified.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
kind regards,
Dirk.
We are facing exactly the same problem and addition we found out that changing autosize may cause radical change to layout. We are using RB 21.03.
BEFORE
AFTER setting autosize to false
https://pasteboard.co/H2kymFTXSYtI.jpg
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com