News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Add-In PrjOptions

Started by TimoVJL, March 18, 2013, 02:16:54 PM

Previous topic - Next topic

TimoVJL

Add-In PrjOptions shows project options in sizeable window and with project name.
SelectCompiler Add-In need this.

EDIT: 2014-02-13 PrjOptions_WS_v1.1_a1.zip dialog fix
EDIT: 2014-04-07 PrjOptions_WS_v1.2.zip
EDIT: 2016-11-07 Minor fix for dialog sizing.
May the source be with you

TimoVJL

#1
John Z kindly offered a fix for Windows 11
Hopefully someone test it, as i don't support Windows 11.
He can freely develop it to better version
May the source be with you

John Z

Thanks Timo.

To be clear this is Timo's creation.  I ran it on WIN 11 24H2 and some issues arose.
I feel obligated to explain -

First the dialog opens very small, well that could be a DPI aware issue of course. 1st Image below.

The second thing however on WIN 11 was that the dialog would not 'stay' resized. I took a video but too big to post so there is an image comprised of two frames - you will see where the dialog was dragged to the right but it immediately snaps back to the starting size.  So I would never see the 'MORE'/'LESS' button.  Could not read the entire lines either although they could be copied.

So for Win 11 a few minor tweaks were made, to open the dialog larger, which now also shows the other button and to stop the dialog from snapping back to the smaller size.  Last two images.

My quick and minor tweaks do have one issue in that if the windows is dragged smaller, then dragged larger the data fields do not automatically resize.  The 'work around' is to just click the 'MORE'/'LESS' button and they will be resized.  I hope this change will be good for WIN 10 and WIN 7.

Timo always does great work and is a major innovator and contributor. 
Microsoft and WIN 11 maybe not so much ...

BTW if another WIN 11 24H2 user does not experience what I've described with the original code it would be a good heads up to me to check my system and installation... yikes I hope not  :o

John Z