1 parent 62a0aee commit 6b23991Copy full SHA for 6b23991
1 file changed
modules/shared/MenuInput.xml
@@ -13,6 +13,13 @@
13
<OnEscapePressed>
14
self:ClearFocusOnKey(true)
15
</OnEscapePressed>
16
+ <OnShow>
17
+ -- original left and right texture has a ratio of 1:2.5
18
+ local height = self:GetHeight()
19
+ self.Left:SetSize(height / 2.5, height)
20
+ self.Right:SetSize(height / 2.5, height)
21
+ self.Middle:SetSize(height / 2.5, height)
22
+ </OnShow>
23
</Scripts>
24
</EditBox>
25
</Ui>
0 commit comments