remove friend ref on boxlayout
merge texture to widget