Increase width of painter window by 44 gui pixels
This commit is contained in:
parent
08061a69c5
commit
3b769fdfd1
@ -61,7 +61,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun makeMainFrame(): FramePanel<MatteryScreen<*>> {
|
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)
|
val strip = EditablePanel(this, frame, width = AbstractSlotPanel.SIZE)
|
||||||
strip.dock = Dock.LEFT
|
strip.dock = Dock.LEFT
|
||||||
@ -142,7 +142,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) :
|
|||||||
for (recipe in recipes) {
|
for (recipe in recipes) {
|
||||||
val recipeOutput = recipe.value.getOutput(menu.inputContainer)
|
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 {
|
init {
|
||||||
buttons.add(this)
|
buttons.add(this)
|
||||||
dockRight = 1f
|
dockRight = 1f
|
||||||
|
Loading…
Reference in New Issue
Block a user