RSS

Среда, 06.11.2024, 10:26
Главная » WoW API » API Виджеты » Кнопка »

CheckButton:SetPushedTextOffset(x, y)

[ править ]
Sets the offset for moving the button's label text when pushed.
[клоны]
Sets the offset for moving the button's label text when pushed. Moving the button's text while it is being clicked can provide an illusion of 3D depth for the button -- in the default UI's standard button templates, this offset matches the apparent movement seen in the difference between the buttons' normal and pushed textures.

Signature:
Code
Button:SetPushedTextOffset(x, y)

Arguments:
  • x - Horizontal offset for the text (in pixels; values increasing to the right) (number)
  • y - Vertical offset for the text (in pixels; values increasing upward) (number)

Также смотрите: Кнопка
Ссылки: http://wowprogramming.com/docs/widgets/Button/SetPushedTextOffset