Programmer Guide/Shell Items/Display/SET DISPLAY/WIDTH: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(Created page with "Set the width of a display row's columns. SET <var>display</var> WIDTH <var>row</var>|* <var>left</var> <var>right</var> Set the width of the columns of the specified row (...")
 
No edit summary
 
Line 14: Line 14:
| The relative width of the right column (<var>right</var> &ge; 0).
| The relative width of the right column (<var>right</var> &ge; 0).
|}
|}
{{display set}}

Latest revision as of 17:03, 22 January 2019

Set the width of a display row's columns.

SET display WIDTH row|* left right

Set the width of the columns of the specified row (row ³ 0) or all split rows (row = *). The column splitter position is computed using:

pos = left / (left + right) × display_window_width.
left The relative width of the left column (left ≥ 0).
right The relative width of the right column (right ≥ 0).

Navigation menu

Personal tools