Jpstafe
Well-Known Member
- Joined
- Aug 8, 2011
- Messages
- 507
- Reaction score
- 68
hello, that i need to move. it's badly positioned in client so i did this
have this button otui
then client now has been moved to the position that i want but it does not work i¿on click noted that if i remove this
margin-right: -20
margin-bottom: -19
it get back to work, but it does not appear in the position that i want, so what should i do? help please
have this button otui
Lua:
UIButton
size: 20 20
image-source: /images/ui/buttons/minSettings
image-clip: 0 0 20 20
anchors.bottom: parent.bottom
anchors.left: parent.left
@onClick: modules.client_options.toggle()
$pressed:
image-clip: 0 20 20 20
Code:
UIButton
size: 20 20
image-source: /images/ui/buttons/minSettings
image-clip: 0 0 20 20
anchors.bottom: parent.bottom
anchors.left: parent.left
margin-right: -20
margin-bottom: -19
@onClick: modules.client_options.toggle()
$pressed:
image-clip: 0 20 20 20
then client now has been moved to the position that i want but it does not work i¿on click noted that if i remove this
margin-right: -20
margin-bottom: -19
it get back to work, but it does not appear in the position that i want, so what should i do? help please