Project

General

Profile

Bug #740

Can't open text widow full width of screen. Also, the window is offset to the right by 1 character.

Added by Brian Flanagan almost 3 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
Start date:
04/26/2021
Due date:
% Done:

0%

Estimated time:
2:00 h
Affected version:

Description

Example: Open an 80 x 25 window on the default 80 x 25 screen
Parameters are x,y, width , height ,border

Wind Open 1,0,0,80,25,1

Result is: Text window too large error.

Instead, I have to take it 1 less than the width and height:

Wind Open 1,0,0,79,24

...which of course, leaves the window too small by 1 line and 1 column.

#1

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Rejected
  • Assignee changed from AOZ Developers to Francois Lionet

In your example, you are asking for a BORDER to the window. Borders take one character on each size of the window, therefore the maximum width and height is 78 and 23. If you replace the last parameter by 0 instead of 1, it works, you can open a 80x25 window...

Also available in: Atom PDF