- Joined
- Jul 12, 2010
- Messages
- 1,719
Alright everybody so latest patch changed something in the UI and it caused my previously hidden command buttons to show again:
This worked fine before the 1.33 update, now it seems that BlzFrameSetSize doesn't work for any of the command buttons.
I can still move the command buttons out of the map using BlzFrameSetAbsPoint:
BUT this doesn't solve my other problem, I need to be able to resize command buttons 5-11 for my UI design.
@Tasyen
JASS:
// Hide Command Buttons
call BlzFrameSetSize(BlzGetFrameByName("CommandButton_0", 0), 0.0, 0.0)
call BlzFrameSetSize(BlzGetFrameByName("CommandButton_1", 0), 0.0, 0.0)
call BlzFrameSetSize(BlzGetFrameByName("CommandButton_2", 0), 0.0, 0.0)
call BlzFrameSetSize(BlzGetFrameByName("CommandButton_3", 0), 0.0, 0.0)
call BlzFrameSetSize(BlzGetFrameByName("CommandButton_4", 0), 0.0, 0.0)
I can still move the command buttons out of the map using BlzFrameSetAbsPoint:
JASS:
call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_0", 0), FRAMEPOINT_TOPLEFT, 0.0, 0.0)
@Tasyen