mixin: Add setter for widget padding
This commit is contained in:
@@ -1085,4 +1085,14 @@ public interface Widget
|
||||
* Gets the image which is (or should be) drawn on this widget
|
||||
*/
|
||||
SpritePixels getSprite();
|
||||
|
||||
/**
|
||||
* Sets the X padding between widgets, mainly for inventory items
|
||||
*/
|
||||
void setPaddingX(int val);
|
||||
|
||||
/**
|
||||
* Sets the Y padding between widgets, mainly for inventory items
|
||||
*/
|
||||
void setPaddingY(int val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user