Page 1 of 1

Container and String Gadgets

Posted: Sat Dec 22, 2012 8:12 pm
by Michael Vogel
Not sure, if these things are issues, but after playing around, I made the following observations:

• all gadget names of the objects are in this "crumple" font (it really looks bad here), maybe this could be changed to use the standard font
• when creating a string object, it's name (StringGadget) is vertically shifted and only the upper part of the text is seen
• selecting an object could be done by just clicking somewhere into the gadget itself, not so for the container where you must click "exactly" on its border
• when I click on the arrow of "Event procedure" in the Toolbox, an empty menu pops up only for a short moment - another click shows the menu then
• when I swap to code view and back, reopen the Form Designer (Alt+V), the "Objects" window is empty until I add a new object

And now some feature requests (for PB5.2 or 6.0)
• what about showing the name and type of the selected object between the Toolbox/Objects tree and the configuration list?
• a small function bar to choose between some working modes (add object, select objects etc. would be fine)
• the left top position of the window should be set to 0|0 to save space on smaller screens
• tooltips with some object information etc.

Re: Container and String Gadgets

Posted: Sat Dec 22, 2012 10:13 pm
by Polo
Michael Vogel wrote:• all gadget names of the objects are in this "crumple" font (it really looks bad here), maybe this could be changed to use the standard font
It's Segoe UI, which looks weird on your computer for some reason, what's your OS version?
Michael Vogel wrote:• when creating a string object, it's name (StringGadget) is vertically shifted and only the upper part of the text is seen
Fixed thanks.
Michael Vogel wrote:• selecting an object could be done by just clicking somewhere into the gadget itself, not so for the container where you must click "exactly" on its border
It's the case apart for some gadgets like container or scrollareas. It has been done so as they are containers and you can actually draw and select gadget inside these.
Michael Vogel wrote:• when I swap to code view and back, reopen the Form Designer (Alt+V), the "Objects" window is empty until I add a new object
I see what you mean, I'll have a look.

Re: Container and String Gadgets

Posted: Sat Dec 22, 2012 11:05 pm
by Michael Vogel
Polo wrote:
Michael Vogel wrote:• all gadget names of the objects are in this "crumple" font (it really looks bad here), maybe this could be changed to use the standard font
It's Segoe UI, which looks weird on your computer for some reason, what's your OS version?
I am using Windows XP (SP3) - maybe using GetGadgetFont(#PB_Default) for all the text fields would be a way to avoid incompatibilities.
Polo wrote:
Michael Vogel wrote:• selecting an object could be done by just clicking somewhere into the gadget itself, not so for the container where you must click "exactly" on its border
It's the case apart for some gadgets like container or scrollareas. It has been done so as they are containers and you can actually draw and select gadget inside these.
Seems logical, maybe another idea (which could be irritating): what about swaping between add objects and select/edit objects mode depending, which tab (Toolbox or Objects) has been chosen?

Re: Container and String Gadgets

Posted: Sun Dec 23, 2012 4:29 pm
by Polo
I think it's easier not to have select/create modes, once you're used to it it's actually more productive :)
For the font problem maybe it's related to the bug with alphablend you've linked on the other topic?

Re: Container and String Gadgets

Posted: Sun Dec 23, 2012 7:00 pm
by sirguylittle
Polo wrote:
Michael Vogel wrote:• when I swap to code view and back, reopen the Form Designer (Alt+V), the "Objects" window is empty until I add a new object
I see what you mean, I'll have a look.
I've noticed that this only happens with the floating Form Tool. When you add the Form Tool to the ToolsPanel in the IDE, the Objects window works fine.

Re: Container and String Gadgets

Posted: Sun Dec 23, 2012 7:04 pm
by Polo
sirguylittle wrote:
Polo wrote:
Michael Vogel wrote:• when I swap to code view and back, reopen the Form Designer (Alt+V), the "Objects" window is empty until I add a new object
I see what you mean, I'll have a look.
I've noticed that this only happens with the floating Form Tool. When you add the Form Tool to the ToolsPanel in the IDE, the Objects window works fine.
Fixed for next beta ;)