Added Shift + Left/Right/Up/Down to resize the selected gadgets, thanks for the suggestion!ts-soft wrote:Okay, i think better keyboard-support like Shift+Right to change the width or Shift+Down to change the height
is an alternate for this problem?
Form Designer 5.10
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Thanks, your support and your formdesigner are great
A button to have a preview of the realwindow would be nice.
Use Compiler or create a windows on the fly with real-gadgets.
Thomas
A button to have a preview of the realwindow would be nice.
Use Compiler or create a windows on the fly with real-gadgets.
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Added to my feature list, though the focus right now is to have a perfect editor and a perfect code generation/parserts-soft wrote:A button to have a preview of the realwindow would be nice.
Use Compiler or create a windows on the fly with real-gadgets.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Sorry @Polo,
did you update FormDesigner for Windows?
The Date and Time is older as Mac and Linux.
Thank's Falko
did you update FormDesigner for Windows?
The Date and Time is older as Mac and Linux.
Thank's Falko
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
I did, that's because my Windows time is messed up (god knows why... As I'm not using Windows so much I didn't bother changing it!)Falko wrote:Sorry @Polo,
did you update FormDesigner for Windows?
The Date and Time is older as Mac and Linux.
Thank's Falko
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Okay
Here another wish for Image.
If I liked to insert a bigger picture,
if it is not reduced, but only one cutting
shown. Better the picture would be to be reduced with the resize,
and to be able to cut an other option, the picture.
Sorry my english. For more english i use the
Promt-Translator
Greetings - Falko
Here another wish for Image.
If I liked to insert a bigger picture,
if it is not reduced, but only one cutting
shown. Better the picture would be to be reduced with the resize,
and to be able to cut an other option, the picture.
Sorry my english. For more english i use the
Promt-Translator
Greetings - Falko
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Feature suggestion: Make it possible at the code viewer to use the (user selected) PureBasic color scheme. Only fall back to the default one if nothing has been found.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Hi, no sorry I'm not adding features to the code viewer as it won't stay in the long term.c4s wrote:Feature suggestion: Make it possible at the code viewer to use the (user selected) PureBasic color scheme. Only fall back to the default one if nothing has been found.
I'm afraid I still do not understand, could you use another translator, Google maybe?Falko wrote:Here another wish for Image.
If I liked to insert a bigger picture,
if it is not reduced, but only one cutting
shown. Better the picture would be to be reduced with the resize,
and to be able to cut an other option, the picture.
Sorry my english. For more english i use the
Promt-Translator![]()
Greetings - Falko
If what you want is to resize the image when the gadget is resized, I'm not sure this would be the correct behaviour.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Hello Polo and sorry for the translating with Promt-Translator.Polo wrote:...
If what you want is to resize the image when the gadget is resized, I'm not sure this would be the correct behaviour.
Yes, if the gadget resized, i want this image resize into this gadget.
See the left picture. I mean zoom the big picture in the image-gadget:

I hope, you understand me.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Got it - though from the PB manual you can read:

So basically the gadget will be sized according to the image size, you cannot make the image bigger than what it is so I should not make it differentThe gadget adjusts its width and height to fit the displayed image. The specified width and height are only used when no image is displayed.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
I think he wants the opposite Polo, so that the image always is scaled to best fit it's container so when scaling the gadget inside the form or resizing the window, the image would still fit its container.
Edit : I think you already read it correctly. I was a bit confused about the discussion.
Edit : I think you already read it correctly. I was a bit confused about the discussion.
Last edited by wilbert on Mon Sep 03, 2012 4:15 pm, edited 1 time in total.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Yes but in Purebasic the width/height on an image gadget is ignored - the image size is used.wilbert wrote:I think he wants the opposite Polo, so that the image always is scaled to best fit it's container so when scaling the gadget inside the form or resizing the window, the image would still fit its container.
When adding the image to an image gadget in FD, the gadget is resized to the image size and you should not resize it afterward
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
Then maybe it should be a feature request to Fred.
It can be very convenient at times if the image always scales itself to best fit an image container.
It can be very convenient at times if the image always scales itself to best fit an image container.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
For sure, but atm I need to leave it like that in the FD so that it stays WYSIWYGwilbert wrote:Then maybe it should be a feature request to Fred.
It can be very convenient at times if the image always scales itself to best fit an image container.
Re: Form Designer for Mac/Windows/Linux -5.00b2 (update!)
And you can this not include behind your LoadImage?
I've edit with PB-IDE your .pbf-File and this is it, what i mean.
I've edit with PB-IDE your .pbf-File and this is it, what i mean.
Code: Select all
; Form Designer for Purebasic - 5.0
; Warning: this file uses a strict syntax, if you edit it, make sure to respect the Form Designer limitation or it won't be opened again.
Global Window_0
Global Image_0
Global Img_0
UseJPEGImageDecoder()
;------ http://cdn.ithinkdiff.com/wp-content/uploads/2009/03/koala.jpg -----
Img_0 = LoadImage(#PB_Any,"koala.jpg")
ResizeImage(Img_0,120,130) ; here i've insert a resize with PB-Editor
Procedure InitWindow_0()
Protected WindowWidth, WindowHeight
Window_0 = OpenWindow(#PB_Any, 0, 0, 322, 162, "", #PB_Window_SystemMenu)
WindowWidth = WindowWidth(Window_0)
WindowHeight = WindowHeight(Window_0)
Image_0 = ImageGadget(#PB_Any, 10, 10, 120, 130, ImageID(Img_0))
EndProcedure
Procedure ResizeGadgetsWindow_0()
Protected WindowWidth, WindowHeight
WindowWidth = WindowWidth(Window_0)
WindowHeight = WindowHeight(Window_0)
ResizeGadget(Image_0, 10, 10, 120, 130)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
EndProcedure
;Edit by Falko with PB-Editor
initWindow_0()
ResizeGadgetsWindow_0()
Repeat
event=WaitWindowEvent()
Until event=#PB_Event_CloseWindow



