# AUTOSIZECOLUMNS doesn't always work

**URL:** <https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284>\
**Category:** Help & Support\
**Tags:** bug-report, commands\
**Created:** [September 23, 2025, 4:03pm UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284 "2025-09-23T16:03:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartO](https://resource.dopus.com/user_avatar/resource.dopus.com/marto/32/54727_2.png) [@MartO](https://resource.dopus.com/u/MartO)\
**Post date:** [September 23, 2025, 4:03pm UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284/1 "2025-09-23T16:03:32Z")

</div>

I've set all column widths to "auto" and added a max setting of "fill" to the "name" column (in leftmost position). This works as expected and very long filenames are partially hidden.

I've got a command `Set AUTOSIZECOLUMNS=col:name,override` to make the complete filenames visible, moving everything else to the right. This _doesn't_ work.  
BUT  
If I first manually change the name column's width by a few pixels (in either direction) and _then_ use the above command, it suddenly works as expected.

That's not right, is it? 🤔

(I'm on the latest beta 13.18.5.)

---

<div class="post-metadata">

**Author:** ![MartO](https://resource.dopus.com/user_avatar/resource.dopus.com/marto/32/54727_2.png) [@MartO](https://resource.dopus.com/u/MartO)\
**Post date:** [September 23, 2025, 4:14pm UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284/2 "2025-09-23T16:14:37Z")

</div>

My workaround for the command:

```auto
Set COLUMNSADD name(!0,100)
Set AUTOSIZECOLUMNS=col:name,override

```

Ugly, but it works... 😉

---

<div class="post-metadata">

**Author:** ![jinsight](https://resource.dopus.com/user_avatar/resource.dopus.com/jinsight/32/43666_2.png) [@jinsight](https://resource.dopus.com/u/jinsight)\
**Post date:** [September 23, 2025, 8:26pm UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284/3 "2025-09-23T20:26:58Z")

</div>

Narrow|Wide Name Column Toggle

```auto
@if:$tab:CNA
@set tab:CNA
Set COLUMNSADD name(!0,100)
Set AUTOSIZECOLUMNS=col:name,override
@if:else
Set AUTOSIZECOLUMNS=col:name
@set tab:CNA=on

```

---

<div class="post-metadata">

**Author:** ![jinsight](https://resource.dopus.com/user_avatar/resource.dopus.com/jinsight/32/43666_2.png) [@jinsight](https://resource.dopus.com/u/jinsight)\
**Post date:** [September 2, 2026, 12:42am UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284/4 "2026-09-02T00:42:46Z")

</div>

Would the Devs care to comment on why `Set AUTOSIZECOLUMNS=col:name,override` appears not behave as documented?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [September 2, 2026, 12:19pm UTC](https://resource.dopus.com/t/autosizecolumns-doesnt-always-work/57284/5 "2026-09-02T12:19:04Z")

</div>

In the next beta, that command will also clear the column's fill/collapse mode/maximum.
