I'm new to PB. Just trying to get familiar with it and learn enough to remake one of my smaller current projects in it. I'm using PureBasic 6.00 LTS (Windows - x64).
I've added a string gadget to a form. I've made its height 24 and I've locked the left, right, and bottom. When I resize the window, the string gadget gets just a little bit taller which doesn't make much sense to me because when I switch to the code view, I see the following:
Code: Select all
Procedure ResizeGadgetsWindow_0()
Protected FormWindowWidth, FormWindowHeight
FormWindowWidth = WindowWidth(Window_0)
FormWindowHeight = WindowHeight(Window_0)
ResizeGadget(Button_0, 8, FormWindowHeight - 30, 144, 20)
ResizeGadget(String_0, 8, FormWindowHeight - 60, FormWindowWidth - 24, 24)
ResizeGadget(Text_0, 8, 10, FormWindowWidth - 24, FormWindowHeight - 90)
EndProcedure
Is there possibly a bug or have I overlooked something or done something wrong?
Thanks in advance.