I'm wondering if you have any ideas for how to prevent the sizes of things from changing in my GUI windows between computers. Here are three screen captures on three different computers - all running Windows 7. Each window shows differences in font size and widget size that are giving me problems. I can't accurately size the text fields for each chunk of text on my GUI when I don't know how big the text will be on a user's computer.
I'm using the latest Beta of TB (not that this would fix my problem). All three of these screen captures are from running the exact same bundled executable.
I'm setting the font size in my code for most of the text elements in the window. For example, like this :
Global hCourierNew16Bold As Long Resource = Font_Create("Courier New", 16, %FONT_BOLD)
Control Add Label, CBHNDL, %ID_LargePowerLabel, "Power" , 200, 25, 80, 30
Dialog Send (Win_GetDlgItem(CBHNDL, %ID_LargePowerLabel)), %WM_SETFONT, hCourierNew16Bold, 0
Control Set Color CBHNDL, %ID_LargePowerLabel, %POWER_COLOR, -1
So, why the differences, and more importantly, what can be done to make this UI look exactly the same no matter what machine it runs on? Any ideas?
*Brian
Computer1_BriansLaptop.PNG
Computer2.PNG
Computer3.PNG
Bookmarks