layout

package
v0.0.0-...-c98d9f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2021 License: EPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinSize

func MinSize(maxMinSizeHeight float32, objects []fyne.CanvasObject) (fyne.Size, float32)

MinSize will calculate the minium size that will feat each object.

The Height is returned in separate to make a standard height across all the rows.

func NewPeersTab

func NewPeersTab(w fyne.Widget) *container.TabItem

NewTab creates a new tab icon for the peers.

func NewTransferTab

func NewTransferTab(w fyne.Widget) *container.TabItem

NewTab creates a new tab icon for the Transfers.

func ResizeAndMove

func ResizeAndMove(obj fyne.CanvasObject, width, posX, height float32)

ResizeAndMove will adjust the size of an fyne.CanvasObject and will move it to the specificed X position. The Y position will always be 0 of the containers of the object.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL