Re: New 'Resize by data?' Maximum Width Feature - Mailing list pgadmin-support

From Akshay Joshi
Subject Re: New 'Resize by data?' Maximum Width Feature
Date
Msg-id CANxoLDd-5L=M-qJ0fuYXzhCdo2hLHq4efdts3Fwdgsd3OHx1ew@mail.gmail.com
Whole thread Raw
In response to New 'Resize by data?' Maximum Width Feature  (Doug Reed <r.douglas.reed@gmail.com>)
Responses Re: New 'Resize by data?' Maximum Width Feature  (Dave Caughey <caugheyd@gmail.com>)
List pgadmin-support
Hi Doug

Maximum Width feature will only work when "Resize by data?'" is set to true, but if it is set to false then you will see the old behaviour where the column will be sized to the widest of the data type or column name. Maximum width is in pixel when it is set to 0 then columns will auto-size to the maximum width of the data in the column.

Changes to the maximum width in the preferences won't reflect in the currently opened tab. You have to open the new View/Data or Query Tool tab.

I have tested it so many times and working absolutely fine for me.

On Fri, Jul 16, 2021 at 12:31 AM Doug Reed <r.douglas.reed@gmail.com> wrote:
All,

The Maximum width feature produces strange behavior on a Mac.

Changing the value alone does not seem to work.  There is very strange behavior when setting the length.  It seems to only take effect if it is set before the 'Resize by data?' column is enabled, and any currently open Query Tools don't seem to honor it.

I cannot be too specific because the behavior is so erratic.  I have one table with a VERY WIDE column, so I was glad to see this feature.  I set it, enabled the flag and all of my columns became very narrow.  I thought maybe it was in pixels???  so I set it much bigger and nothing happened.  I exited the application and restarted it to no effect... narrow columns  I turned off the flag and enabled it, and my columns were HUGE!  ...  not in pixels!  I set the value smaller to no effect.  I then turned the flag off and back on, and a View Data -> All Rows was what I wanted on a refresh, but re-running the query in the Query Tool saw no change.

The feature is nice and seems to work, but setting it is confusing.  It seems that one needs to set it with the flag off, then enable the flag, and restart pgAdmin, or at least re-open any Query Tool Windows to get it to fully function???

Thanque to all the developers working on this tool.  Hopefully you guys will appreciate feedback on your work.  Hopefully it is nice to know someone actually uses the stuff you provide?


--
Regards,

Doug


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

pgadmin-support by date:

Previous
From: Doug Reed
Date:
Subject: New 'Resize by data?' Maximum Width Feature
Next
From: Dave Caughey
Date:
Subject: Re: New 'Resize by data?' Maximum Width Feature