Page 19 of 33

Re: [Modules] ListEx (all OS / DPI)

Posted: Wed Dec 04, 2019 11:23 am
by zikitrake
Hello again!
Is it possible to resize the columns as in a standard Purebasic Listicon?
I've tried several options but none of them let me.

Image

Thousands of thanks in advance.

Re: [Modules] ListEx (all OS / DPI)

Posted: Wed Dec 04, 2019 2:04 pm
by Thorsten1867
Bugfixes

@zikitrake
Try it again! (#ResizeColumn)

Re: [Modules] ListEx (all OS / DPI)

Posted: Wed Dec 04, 2019 2:40 pm
by zikitrake
Thorsten1867 wrote:Bugfixes

@zikitrake
Try it again! (#ResizeColumn)
Thank you!
Now the resizing works, but strange effects appear :shock:
Image
Sorry for the inconvenience

Re: [Modules] ListEx (all OS / DPI)

Posted: Wed Dec 04, 2019 3:16 pm
by Thorsten1867
new attempt

Re: [Modules] ListEx (all OS / DPI)

Posted: Thu Dec 05, 2019 12:06 am
by zikitrake
Now works much better, but it happens that when it reaches the minimum width of the column the mouse is released, so to resize to a wider width need to make an extra click

Image

PS: I hope I've explained (I'm sorry for my bad English)

Re: [Modules] ListEx (all OS / DPI)

Posted: Thu Dec 05, 2019 8:26 am
by Thorsten1867
Fixed

Re: [Modules] ListEx (all OS / DPI)

Posted: Thu Dec 05, 2019 10:21 am
by zikitrake
Now much better!
I continue with the problems (if you get tired of me, you send me away! :D )

If I disable the SetAutoResizeColumn command, and scroll the list horizontally, the possibility of resizing is lost.

Image

:idea: On the other hand, could it be possible to add the option so that when resizing one column all the others would be moved? (as in the standard ListiconGadget)
Image

Thank you for your patience!

Re: [Modules] ListEx (all OS / DPI)

Posted: Thu Dec 05, 2019 2:08 pm
by Thorsten1867
Update: Flags #ResizeColum / #AdjustColumns

Re: [Modules] ListEx (all OS / DPI)

Posted: Fri Dec 06, 2019 3:46 pm
by zikitrake
Thank you, but it's still a problem :(
When you re-dimension the columns, the position for resizing the columns does not coincide with the point of union between two columns.

Image

Re: [Modules] ListEx (all OS / DPI)

Posted: Fri Dec 06, 2019 4:16 pm
by Thorsten1867
I hope the problem is solved now.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Dec 07, 2019 5:15 am
by zikitrake
Thorsten1867 wrote:I hope the problem is solved now.
I'm sorry to say no :cry:
Image

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Dec 07, 2019 10:46 am
by Thorsten1867
It was AutoResizeColumn(). It adjusted the magnification again to the total width.
When AutoResizeColumn() is defined, the #ResizeColumn flag is now removed.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Dec 07, 2019 8:53 pm
by davido
@Thorsten1867,
Re: Resizing Columns:
Your demo code, now, works fine on my MacBook.
Thank you.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Dec 07, 2019 11:57 pm
by zikitrake
Thorsten1867 wrote:It was AutoResizeColumn(). It adjusted the magnification again to the total width.
When AutoResizeColumn() is defined, the #ResizeColumn flag is now removed.
:oops: Sorry It was my fault. Now it's working perfectly!

Re: [Modules] ListEx (all OS / DPI)

Posted: Sun Dec 08, 2019 3:37 am
by Paul
Just a note...
when resizing Columns, your Columns don't follow the scrollbar so if you move the scrollbar you can no longer select the column to resize it.