File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed
Sources/hostmgr-helper/VM List/States Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -46,21 +46,31 @@ struct RunningVMListItem: View {
4646 VMListItemDataItem ( key: " IP Address " , value: ipAddress. debugDescription)
4747
4848 HStack ( alignment: . top) {
49- Button ( action: self . openVNCSession, label: {
49+ Button ( action: self . openVNCSession) {
50+ Spacer ( )
5051 Label ( " VNC " , systemImage: " play.display " )
51- } )
52+ Spacer ( )
53+ }
5254
53- Button ( action: self . openVMWindow, label: {
55+ Button ( action: self . openVMWindow) {
56+ Spacer ( )
5457 Label ( " View " , systemImage: " display " )
55- } )
58+ Spacer ( )
59+ }
60+ } . frame ( maxWidth: . infinity)
5661
57- Button ( action: self . openSSHSession, label: {
62+ HStack ( alignment: . top) {
63+ Button ( action: self . openSSHSession) {
64+ Spacer ( )
5865 Label ( " SSH " , systemImage: " terminal " ) . foregroundStyle ( . white)
59- } )
66+ Spacer ( )
67+ }
6068
61- Button ( action: self . shutdown, label: {
69+ Button ( action: self . shutdown) {
70+ Spacer ( )
6271 Label ( " Stop " , systemImage: " stop.circle " ) . foregroundStyle ( . white)
63- } )
72+ Spacer ( )
73+ }
6474 } . frame ( maxWidth: . infinity)
6575 }
6676
You can’t perform that action at this time.
0 commit comments