summaryrefslogtreecommitdiff
path: root/toolkit/gocui/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-25 22:24:45 -0500
committerJeff Carr <[email protected]>2023-04-25 22:24:45 -0500
commit55ea779640098ce71a5f36785634f4e22f3cd601 (patch)
tree2e909de2b4790d4d01c92ebba4785e642a6efd09 /toolkit/gocui/place.go
parent2de69d0086a5d97a91647ecadf438ac3989759a8 (diff)
gocui: hmm. trying to reformat the layout
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/place.go')
-rw-r--r--toolkit/gocui/place.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/gocui/place.go b/toolkit/gocui/place.go
index 9036771..2ff791a 100644
--- a/toolkit/gocui/place.go
+++ b/toolkit/gocui/place.go
@@ -88,10 +88,10 @@ func (w *cuiWidget) placeWidgets() {
switch w.widgetType {
case toolkit.Window:
for _, child := range w.children {
- w.startW = me.rawW
- w.startH = me.rawH
- w.nextW = me.rawW
- w.nextH = me.rawH
+ w.startW = me.RawW
+ w.startH = me.RawH
+ w.nextW = me.RawW
+ w.nextH = me.RawH
w.showWidgetPlacement(logNow, "place()")
child.placeWidgets()
if (w.realWidth < child.realWidth) {
@@ -104,10 +104,10 @@ func (w *cuiWidget) placeWidgets() {
}
case toolkit.Tab:
for _, child := range w.children {
- w.startW = me.rawW
- w.startH = me.rawH
- w.nextW = me.rawW
- w.nextH = me.rawH
+ w.startW = me.RawW
+ w.startH = me.RawH
+ w.nextW = me.RawW
+ w.nextH = me.RawH
w.showWidgetPlacement(logNow, "place()")
child.placeWidgets()
if (w.realWidth < child.realWidth) {