[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Resize columns in Learning Mapper interface

Resize columns in Learning Mapper interface

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Synchro   (4 posts)  [Biography] bio
Date Tue 28 Dec 2021 06:34 PM (UTC)
Message
Hello,

I am using Nick's Learning Mapper plugin 2.1 for MUSHclient 5.06 (under Crossover). I'm using a laptop to play and the screen is relatively small. My problem is that the left-hand column where the output text goes is too narrow to be able to read comfortably, and if I enlarge the text it disappears off the right side of the column.

What I would like is to be able to reduce the width of the middle column, where e.g. "<- Description (98%)" appears, since there is currently a lot of blank space there. This might ideally be accomplished by making the border between the columns draggable, but simply resizing the fixed columns via code could work too. Any pointers on how to do this would be much appreciated.

Also, since this is my first post, thanks to Nick for this amazing piece of free software. It's enhanced my MUD-playing experience enormously. Cheers!
[Go to top] top

Posted by Nick Gammon   Australia  (23,001 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Wed 29 Dec 2021 01:06 AM (UTC)

Amended on Wed 29 Dec 2021 01:10 AM (UTC) by Nick Gammon

Message

My problem is that the left-hand column where the output text goes is too narrow to be able to read comfortably, and if I enlarge the text it disappears off the right side of the column.

The information column is made to appear at the designated width of your output text. In other words, if you go to Configuration -> Appearance -> Output and change “Wrap output at column number” to be different then the information pane moves accordingly (you may have to reload the mapper plugin).

The width of the information window is set here:

https://github.com/nickgammon/plugins/blob/b3560c91112929195eb7303c76d6772b33ee2aaa/Learning_Mapper.lua#L757

If you change that number 400 to something else you will have more or less room for the information window.

In other words, edit Learning_Mapper.lua in your plugins folder, find that line (around line 757), change it, save the file, and reload the plugin.


If you type “mapper learn” in the client it toggles the visibility of that window and the learning dialog altogether.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Synchro   (4 posts)  [Biography] bio
Date Reply #2 on Wed 29 Dec 2021 01:44 AM (UTC)
Message
Excellent, that fixed my problem. Thank you!
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


6,843 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]