infobox overlay: Configure the amount of boxes per row

allow the user to set the amount of info boxes per row as well as set it to display vertically or horizontally. setting it to 0 will default to normal horizontal behavior
This commit is contained in:
Adam
2018-04-23 15:12:11 -04:00
parent 4118fa9f50
commit 9a27d37eae
3 changed files with 86 additions and 8 deletions

View File

@@ -133,4 +133,26 @@ public interface RuneLiteConfig extends Config
{
return FontType.SMALL;
}
@ConfigItem(
keyName = "infoBoxVertical",
name = "Display infoboxes vertically",
description = "Toggles the infoboxes to display vertically",
position = 10
)
default boolean infoBoxVertical()
{
return false;
}
@ConfigItem(
keyName = "infoBoxWrap",
name = "Infobox wrap count",
description = "Configures the amount of infoboxes shown before wrapping",
position = 11
)
default int infoBoxWrap()
{
return 4;
}
}