MCPcopy Create free account
hub / github.com/DEROFDN/Engram / layoutIdentity

Function layoutIdentity

layouts.go:8584–8922  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8582}
8583
8584func layoutIdentity() fyne.CanvasObject {
8585 session.Domain = "app.Identity"
8586 title := canvas.NewText("I D E N T I T Y", colors.Gray)
8587 title.TextStyle = fyne.TextStyle{Bold: true}
8588 title.TextSize = 16
8589
8590 heading := canvas.NewText("My Contacts", colors.Green)
8591 heading.TextSize = 22
8592 heading.Alignment = fyne.TextAlignCenter
8593 heading.TextStyle = fyne.TextStyle{Bold: true}
8594
8595 menuLabel := canvas.NewText(" M O R E O P T I O N S ", colors.Gray)
8596 menuLabel.TextSize = 11
8597 menuLabel.Alignment = fyne.TextAlignCenter
8598 menuLabel.TextStyle = fyne.TextStyle{Bold: true}
8599
8600 sep := canvas.NewRectangle(colors.Gray)
8601 sep.SetMinSize(fyne.NewSize(ui.Width*0.2, 2))
8602
8603 line1 := container.NewVBox(
8604 layout.NewSpacer(),
8605 sep,
8606 layout.NewSpacer(),
8607 )
8608
8609 sep2 := canvas.NewRectangle(colors.Gray)
8610 sep2.SetMinSize(fyne.NewSize(ui.Width*0.2, 2))
8611
8612 line2 := container.NewVBox(
8613 layout.NewSpacer(),
8614 sep2,
8615 layout.NewSpacer(),
8616 )
8617
8618 frame := &iframe{}
8619
8620 rectSpacer := canvas.NewRectangle(color.Transparent)
8621 rectSpacer.SetMinSize(fyne.NewSize(10, 5))
8622 rectList := canvas.NewRectangle(color.Transparent)
8623 rectList.SetMinSize(fyne.NewSize(ui.Width, 35))
8624 rectListBox := canvas.NewRectangle(color.Transparent)
8625 rectListBox.SetMinSize(fyne.NewSize(ui.Width, ui.Height*0.44))
8626
8627 shortShard := canvas.NewText("PRIMARY USERNAME", colors.Gray)
8628 shortShard.TextStyle = fyne.TextStyle{Bold: true}
8629 shortShard.TextSize = 12
8630
8631 idCenter := container.NewCenter(
8632 shortShard,
8633 )
8634
8635 linkBack := widget.NewHyperlinkWithStyle("Back to Dashboard", nil, fyne.TextAlignCenter, fyne.TextStyle{Bold: true})
8636 linkBack.OnTapped = func() {
8637 session.LastDomain = session.Window.Content()
8638 session.Window.SetContent(layoutTransition())
8639 session.Window.SetContent(layoutDashboard())
8640 removeOverlays()
8641 }

Callers 3

DragEndMethod · 0.85
layoutDashboardFunction · 0.85
layoutIdentityDetailFunction · 0.85

Calls 11

layoutTransitionFunction · 0.85
layoutDashboardFunction · 0.85
removeOverlaysFunction · 0.85
queryUsernamesFunction · 0.85
getUsernamesFunction · 0.85
checkUsernameFunction · 0.85
registerUsernameFunction · 0.85
getPrimaryUsernameFunction · 0.85
layoutIdentityDetailFunction · 0.85
NewVScrollFunction · 0.85
RefreshMethod · 0.80

Tested by

no test coverage detected