Documentation
¶
Index ¶
- type Dialog
- type FormView
- func (f *FormView) AddExpandRow()
- func (f *FormView) AddRow(name string, control appkit.IControl)
- func (f *FormView) InsertRow(index int, name string, control appkit.IControl)
- func (f *FormView) SetLabelAlignment(alignment LabelAlignment)
- func (f *FormView) SetLabelControlSpacing(spacing float64)
- func (f *FormView) SetLabelFont(font appkit.IFont)
- func (f *FormView) SetLabelWidth(width float64)
- func (f *FormView) SetRowSpacing(spacing float64)
- type LabelAlignment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
Dialog is appkit.Panel with optional OK|CANCEL buttons
func NewDialogWithEdgeInsets ¶
func NewDialogWithEdgeInsets(width, height float64, edgeInsets foundation.EdgeInsets) *Dialog
NewDialogWithEdgeInsets create new Dialog width edgeInsets
type FormView ¶
FormView ia an appkit.View that arrange form field name and controls.
func (*FormView) AddExpandRow ¶
func (f *FormView) AddExpandRow()
AddExpandRow add a row, expand to fill parent view height.
func (*FormView) SetLabelAlignment ¶
func (f *FormView) SetLabelAlignment(alignment LabelAlignment)
SetLabelAlignment set label text alignment
func (*FormView) SetLabelControlSpacing ¶
SetLabelControlSpacing set spacing between label and control
func (*FormView) SetLabelFont ¶
SetLabelFont set label font
func (*FormView) SetLabelWidth ¶
SetLabelWidth set width for labels
func (*FormView) SetRowSpacing ¶
SetRowSpacing set spacing between rows.
type LabelAlignment ¶
type LabelAlignment int
const ( LabelAlignmentLeading LabelAlignment = 0 LabelAlignmentTrailing LabelAlignment = 1 LabelAlignmentCenter LabelAlignment = 2 )
Click to show internal directories.
Click to hide internal directories.