Page 1 of 1

Problem with Stringgadget height

Posted: Mon Oct 09, 2017 5:01 pm
by collectordave
ubuntu 16.04LTS PB 5.61(64bit)

Using the form designer adding a string gadget to a form.

Changing the height changes the height of the gadget on the form designer but when executing the height does not change. The code

Code: Select all

String_0 = StringGadget(#PB_Any, 10, 10, 100, 20, "")
When creating an executable the height still does not change.

CD

Re: Problem with Stringgadget height

Posted: Mon Oct 09, 2017 5:47 pm
by collectordave
After some investigation it appears that the stringgadget is attempting to vertically centre the text and then automatically resizing the stringgadget to fit the text!

Vertically centering great autoresizing not so great.
CD