Gutter - Width

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Gutter - Width

Re: Gutter - Width

Post by rdion » Mon Feb 27, 2012 7:45 am

Hi Robert,

thanks for your reply.
I will try to change the class you mentioned above.

I hope this feature is part of one of the next versions ;)

Best regards
Rolf

Re: Gutter - Width

Post by robert » Mon Feb 27, 2012 12:26 am

Hi Rolf,

There's currently no way to control the Gutter width. If you'd like to see this, please add a Feature Request on the project's SourceForge page so it can be tracked.

That said, if you're cool with hacking the source yourself, the only part of the Gutter that's variable width is the line number list. I can see where it could be considered jarring, especially when it resizes when going from 9 lines to 10. You can modify org.fife.ui.rtextarea.LineNumberList.java, changing the updateCellWidths() method to always return a fixed size.

Gutter - Width

Post by rdion » Sun Feb 26, 2012 10:01 am

Hi,

how can i set the width of a Gutter manually?
I want the Gutter to have a fixed width.

Thanks and best regards
Rolf

Top