OpenTAP 9.34
API Reference
OpenTap.LayoutAttribute Class Reference

LayoutAttribute can be used to specify the wanted layout for user interfaces. More...

Public Member Functions

 LayoutAttribute (LayoutMode mode, int rowHeight=1, int maxRowHeight=1000)
 Creates a new instance of layout attribute.
 
 LayoutAttribute ()
 Creates a new instance of layout attribute.
 

Properties

LayoutMode Mode [get]
 Specifies the mode of layout.
 
int RowHeight [get]
 How much height should the input take.
 
int MaxRowHeight = 1000 [get]
 Maximum row height for the input.
 
int MinWidth = -1 [get, set]
 Minimum width. The unit is the width of an average character. Not an exact number of pixels. This can be used for displaying where the width is a variable, and it's useful with a first guess.
 

Detailed Description

LayoutAttribute can be used to specify the wanted layout for user interfaces.

OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15