Problem with Stringgadget height

Post bugs related to the IDE here
collectordave
Addict
Addict
Posts: 1309
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Problem with Stringgadget height

Post 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
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
collectordave
Addict
Addict
Posts: 1309
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Problem with Stringgadget height

Post 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
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Post Reply