Page 2 of 3
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 7:18 pm
by wombats
I can't say I like this change. I can't get ProGUI to work correctly in 5.60 Beta 1. The static control covers up the Rebar. Is it not possible to calculate the inner area without the static control?
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 9:29 pm
by chi
Exactly my point! I don't think any developer of a 3rd party library expects such a behavior. Therefore internal calculations just return bogus values.
@Fred: I can think of a few situations where the new gadget container could be indeed pretty helpful, but PLEASE!!! make it optional. Launching OpenWindow() with #PB_Window_GadgetList seems already logical... WIN WIN
I stop whining now ^^
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 9:49 pm
by skywalk
I cannot agree with the demise of the toolbar and statusbar. They are extremely useful as a baseline gui with minimal intrusion upon real estate. And with subclassing, you can reap the statusbar events.
I'm waiting to see the resize options with the next beta before modifying my gui code.
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 10:35 pm
by Dude
IdeasVacuum wrote:StatusBar is unnecessary for most apps.

Say what? Take a look at screenshots of apps on MajorGeeks.com and you'll literally see hundreds of apps using them, and with good valid reasons. Removing standard Windows GUI elements is a bad idea, and makes me envisage a day when PureBasic becomes just another custom app maker instead of an Windows exe maker. Don't let it go that route.
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 11:21 pm
by IdeasVacuum
I cannot agree with the demise of the toolbar and statusbar.
It's not about demise skywalk, it's about their
elevation in importance being too expensive and unnecessary.
Re: [5.60b1] Static control over client area?!
Posted: Wed Feb 01, 2017 11:36 pm
by IdeasVacuum
Dude, tool bar and status bar are not going to be removed and nobody has suggested that they should be, not even jokingly. Please read the
whole post before commenting on it.
If only hundreds of apps (out of millions) use the status bar, I suspect this is because it is just too ugly for a modern-day app. When I need to display data (that would be the status bar's job), I generally use text gadgets instead.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 9:13 am
by Fred
After some thoughs, we will revert this change completely as I have overlooked some complex cases. So long for those hard days of work !

Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 9:16 am
by netmaestro
I know the feeling Fred, and I sympathize. But you're making the right move now and it's appreciated, by more than just me.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 9:47 am
by IdeasVacuum
Here here netmaestro.
You are doing a brilliant job Fred and deserve all credit for it. To roll-back the change is best for all imho.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 11:30 am
by Josh
Fred wrote:After some thoughs, we will revert this change completely as I have overlooked some complex cases. So long for those hard days of work !

Wow, that shows of true size. Just admit that something has not been done well. This is a property that many people have forgotten today
.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 12:27 pm
by chi
Thank you very very much, Fred! I really appreciate your decision

Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 12:42 pm
by wombats
Thank you, Fred. It is appreciated. I did like the fact that the toolbar/status bar sizes were automatically subtracted from the inner area of the window, but I did feel it could have been done in a better way. I hate that your work was undone, but I know it's for the best. Thank you for all your hard work!
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 2:53 pm
by skywalk
Thanks Fred,
This is what beta implies.
No worries.
Just work.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 6:02 pm
by normeus
My thanks will be delivered via PayPal Fred.
The PayPal button is somehow hidden all the way to the bottom of downloads section.
Don't forget to scroll down when you download the latest beta and send Fred a cup of coffee!
Thank you.
Norm.
Re: [5.60b1] Static control over client area?!
Posted: Thu Feb 02, 2017 9:09 pm
by ts-soft
With beta2, I can not use this toolbar, statusbar, menu with dialoglib. This is better?
