Looking for GUI tricks in Blitz+
Blitz3D Forums/Blitz3D Beginners Area/Looking for GUI tricks in Blitz+
| ||
I have some questions about the GUI of BlitzPlus: 1) How can the width (and hight) in pixels of a textstring be determined, so that e.g. a button can be created in the correct width and hight automatically (i.e. for variable text lengths)? (The stringwidth-command does not seem to work for the GUI environment) 2) Is there any way to change the character settings for text in the GUI environment? (It seems to be possible for textareas only.) 3) Is there any way to initialize the directory/path-settings for the "RequestFile"-Command? As I am new to the Blitz Community, I hope my questions are not too trivial. I'd be grateful for help! |
| ||
1. The stringwidth commands need a graphics buffer, you can use the desktopbuffer SetBuffer DesktopBuffer() Print StringWidth("hello") Input 2. See the SetGadgetFont command. 3. The directory/path settings will be supported in next BlitzPlus update. |
| ||
Removed |
| ||
skid, any idea of an ETA? |