Increase width of painter window by 44 gui pixels

This commit is contained in:
DBotThePony 2024-11-16 11:19:18 +07:00
parent 08061a69c5
commit 3b769fdfd1
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -61,7 +61,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) :
}
override fun makeMainFrame(): FramePanel<MatteryScreen<*>> {
val frame = FramePanel(this, 200f, 120f, title)
val frame = FramePanel(this, 244f, 120f, title)
val strip = EditablePanel(this, frame, width = AbstractSlotPanel.SIZE)
strip.dock = Dock.LEFT
@ -142,7 +142,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) :
for (recipe in recipes) {
val recipeOutput = recipe.value.getOutput(menu.inputContainer)
object : ButtonPanel<PainterScreen>(this@PainterScreen, canvas.canvas) {
object : ButtonPanel<PainterScreen>(this@PainterScreen, canvas.canvas, width = 18f, height = 18f) {
init {
buttons.add(this)
dockRight = 1f