more fixes on ui.Area

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-29 12:29:08 -07:00
parent 9ec2ec7f9e
commit e037016fde
2 changed files with 4 additions and 4 deletions

View File

@ -235,9 +235,9 @@ func makeCloudWindow() {
Data.Window1.W.SetMargined(true) Data.Window1.W.SetMargined(true)
text := makeAttributedString() text := makeAttributedString()
Data.cloudBox = ShowSplashBox(text) Data.Window1.B1 = ShowSplashBox(text)
Data.Window1.T.Append("WIT Splash", Data.cloudBox) Data.Window1.T.Append("WIT Splash", Data.Window1.B1)
Data.Window1.T.SetMargined(0, true) Data.Window1.T.SetMargined(0, true)
Data.Window1.W.Show() Data.Window1.W.Show()

View File

@ -60,9 +60,8 @@ type GuiDataStructure struct {
EntryPass *ui.Entry EntryPass *ui.Entry
// stuff for the splash screen / setup tabs // stuff for the splash screen / setup tabs
cloudBox *ui.Box // cloudBox *ui.Box
smallBox *ui.Box smallBox *ui.Box
// myAH *AreaHandler
tabcount int tabcount int
} }
@ -97,6 +96,7 @@ type EntryMap struct {
type WindowMap struct { type WindowMap struct {
W *ui.Window W *ui.Window
B1 *ui.Box
T *ui.Tab T *ui.Tab
A *ui.Area A *ui.Area