TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: DIGITALMAN
from: NELGIN
date: 2020-06-03 12:13:00
subject: multicolumn display not w

For some reason, multicolumn display isn't working for me.

In modopts.ini I have this
; Enable multi-column display (when more than 10 external programs in a
section)        multicolumn = true


Which would indicate if I had 11 programs, it would use multicolumn formatting.
I have 17.

However, later multicolumn is getting set to false

                        var multicolumn = options.multicolumn &&
prog_list.length > options.singlecolumn_height;

Maybe because of this:
if(options.singlecolumn_height == undefined)
        options.singlecolumn_height = console.screen_rows -
options.singlecolumn_margin;


So it looks like it's nothing to do with the numebr of programs, but the
calculated number of lines based on number of programs, screen rows, and some
"margin" which I assume is to maybe account for a header in xtrnx_head.asc
files.

Maybe modopts.ini needs to be updated to reflect what xtrn_sec.js is doing?

Thanks,
Nigel

---
 þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.