Showing results for 
Search instead for 
Did you mean: 

UI controls position when changing font

Former Member
0 Kudos

Hi all,

When I started upgrading my add-on version from 2004 to 2005, I tried to use XML to load the forms. But I realised that when the font is changed, the positions of my controls where not where the should've (of course, the positions where absolut).

To fix that, I had to use relative positions relative to SBO 's own controls. But doing that I can't longer use XML without having to change the positions. Even worse, the form loads slower than it used to.

So logically my questions are, does the sdk provides a better way to add controls considering the font? If so can it be used with XML?

Thanks in advance,


Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

Hi Ian

You should use relative positions relative to SBO 's own controls. If you used fixed ones, the user could resize the form and it would of then been moved again. Yes, it will be slower without xml.

Hope this helps