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


Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ 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 page


Posted by Synchro   (4 posts)  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!
Top

Posted by Nick Gammon   Australia  (23,046 posts)  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
Top

Posted by Synchro   (4 posts)  Bio
Date Reply #2 on Wed 29 Dec 2021 01:44 AM (UTC)
Message
Excellent, that fixed my problem. Thank you!
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.


7,692 views.

It is now over 60 days since the last post. This thread is closed.     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]