Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / How to resize gadgets in BlueGui?

Author
Message
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 2nd Jan 2006 13:37
How to resize gadgets in BlueGui if parent is resized?
SetGadgetAlign seems only move gadgets but dont resize them.
Or how I notice if parent is resized?
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 2nd Jan 2006 15:46
simply try :
resizeGadget handle gadget, int width, int height, [bool clientSizes]
To resize a gadget ...

And to know if a parent gadget is resized, simply copy the original size in 2 data and read them to compare :
int height=gadgetHeight(handle gadget)
int width=gadgetWidth(handle gadget)



All we have to decide is what to do with the time that is given to us.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 3rd Jan 2006 13:47
It doesnt work with webbrowser: you can only resize it smaller but not larger than original size. Also scrollbars disappear when it gets smaller. Not good
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 3rd Jan 2006 17:38
why don't you simply size them really bigger and just after you give them the default size so, if you have to resize them, you can do it until you reach the maximum size you defined first ?

All we have to decide is what to do with the time that is given to us.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 4th Jan 2006 12:49 Edited at: 4th Jan 2006 12:52
Yes yes but then scrollbars appear only when maximum size!
And besides the outlook is slightly different because shadow of gadget's left and bottom edge are missing.

In no way its not acting as normal webwindow

Login to post a reply

Server time is: 2024-11-24 07:07:17
Your offset time is: 2024-11-24 07:07:17