|
@@ -1,7 +1,7 @@
|
|
|
package UI
|
|
|
|
|
|
import (
|
|
|
- "fmt"
|
|
|
+// "fmt"
|
|
|
|
|
|
"github.com/veandco/go-sdl2/sdl"
|
|
|
"github.com/veandco/go-sdl2/ttf"
|
|
@@ -256,7 +256,7 @@ func (self *IconItem) Draw() {
|
|
|
lab_w,lab_h:= self.Label.Size()
|
|
|
|
|
|
if self.Align == ALIGN["VCenter"] {
|
|
|
- fmt.Println("IconItem Draw VCenter:",lab_w,lab_h,self.Label.GetText())
|
|
|
+// fmt.Println("IconItem Draw VCenter:",lab_w,lab_h,self.Label.GetText())
|
|
|
|
|
|
self.Label.NewCoord( self.PosX - lab_w/2 + parent_x, self.PosY + self.Height/2+6+parent_y)
|
|
|
|