# Comments Panel

**URL:** <https://forum.inductiveautomation.com/t/comments-panel/5129>\
**Category:** Ignition\
**Created:** [September 11, 2012, 4:42pm UTC](https://forum.inductiveautomation.com/t/comments-panel/5129 "2012-09-11T16:42:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarrenAsh](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@DarrenAsh](https://forum.inductiveautomation.com/u/DarrenAsh)\
**Post date:** [September 11, 2012, 4:42pm UTC](https://forum.inductiveautomation.com/t/comments-panel/5129/1 "2012-09-11T16:42:54Z")

</div>

This is a minor issue, but wondering if there is an easy work around.

The comments panel “Add Note” and “Cancel” push buttons shift location if you attach a file with a long path name. This can cause the buttons to become inaccessible if the control is sized too small.

Could you shorten the file name when it grows too large for the control size.

C:\Users\user.domain\Downloads\my\_really\_long\_filename.pdf  
becomes  
C:…\my\_really\_long\_filename.pdf

Thanks,

Darren

Ignition Platform 7.5.2 (b1146)  
Vision Module 6.5.2 (b662)  
Java Version 1.7.0\_07

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [September 11, 2012, 11:51pm UTC](https://forum.inductiveautomation.com/t/comments-panel/5129/2 "2012-09-11T23:51:20Z")

</div>

Thanks for bringing this to our attention. A workaround would be to put a button below the comments panel, and have it resize the panel width on demand using system.gui.resizeComponent(). Making the panel wider is unfortunately the only workaround I could come up width, but at least this way it isn’t taking up window real estate unless you want it to.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [September 12, 2012, 1:51pm UTC](https://forum.inductiveautomation.com/t/comments-panel/5129/3 "2012-09-12T13:51:04Z")

</div>

[quote]Making the panel wider is unfortunately the only workaround I could come up width[/quote] 😆

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [September 12, 2012, 4:37pm UTC](https://forum.inductiveautomation.com/t/comments-panel/5129/4 "2012-09-12T16:37:07Z")

</div>

It was an intentional pun, I swear ![:mrgreen:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/d23659b203d2d24d394be983a52adb2fa6fe23d4.gif "Mr. Green")
