PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: WinFBE Suite 1.8.2 (November 8, 2018)  (Read 729 times)


  • Senior Member
  • ***
  • Posts: 241
Re: WinFBE Suite 1.8.2 (November 8, 2018)
« Reply #15 on: November 10, 2018, 06:34:14 AM »

I don't think it would be right to word wrap code samples, unless the code language was one that insisted on line terminators. Since it seems the code text almost fits the allowed width, with not much movement required on scroll bars, would it be worth while, instead of scroll bars, to alter the font size. e.g., find longest line, get number of characters in said line (I'm guessing it will be fixed pitch, e.g. courier or similar), get the ratio of character cell, width to height, then adjust font size  by dividing the width of display window by number of characters to get width of character, then calculate font size based on ratio of width/height of character. No idea if that is easily possible using css, if that is what you have to use.

Best wishes,

Pages: 1 [2]