Move quicksearch bar in pattern monitor to not overlap close button
This commit is contained in:
parent
1ee071bfdb
commit
bafe74ea24
@ -54,7 +54,9 @@ class MatterPanelScreen(
|
|||||||
|
|
||||||
val controls = DeviceControls(this, frame)
|
val controls = DeviceControls(this, frame)
|
||||||
|
|
||||||
LargeBooleanRectangleButtonPanel(this, controls,
|
LargeBooleanRectangleButtonPanel(
|
||||||
|
this,
|
||||||
|
controls,
|
||||||
prop = menu.isAscendingGS,
|
prop = menu.isAscendingGS,
|
||||||
skinElementActive = Widgets18.ARROW_UP,
|
skinElementActive = Widgets18.ARROW_UP,
|
||||||
skinElementInactive = Widgets18.ARROW_DOWN,
|
skinElementInactive = Widgets18.ARROW_DOWN,
|
||||||
@ -91,7 +93,7 @@ class MatterPanelScreen(
|
|||||||
object : TextInputPanel<MatterPanelScreen>(this@MatterPanelScreen, frame) {
|
object : TextInputPanel<MatterPanelScreen>(this@MatterPanelScreen, frame) {
|
||||||
init {
|
init {
|
||||||
width = frame.width * 0.4f
|
width = frame.width * 0.4f
|
||||||
x = frame.width - width - FramePanel.PADDING
|
x = frame.width - width - FramePanel.PADDING - 6f
|
||||||
y = 4f
|
y = 4f
|
||||||
placeholder = TranslatableComponent("otm.gui.quicksearch")
|
placeholder = TranslatableComponent("otm.gui.quicksearch")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user