mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
fixed a bug properties view won't show scroll bars
This commit is contained in:
@@ -160,7 +160,9 @@ class ADPropertyObject(propertyRaw: String) {
|
||||
fun isADstring(property: String) = !isADvariable(property)
|
||||
}
|
||||
|
||||
data class Vector2i(var x: Int, var y: Int)
|
||||
data class Vector2i(var x: Int, var y: Int) {
|
||||
override fun toString() = "$x, $y"
|
||||
}
|
||||
|
||||
enum class ADPropertyType {
|
||||
NAME_ONLY, // "sprite/test.tga" to nothing
|
||||
|
||||
@@ -101,8 +101,6 @@ class SpriteAssemblerApp : JFrame() {
|
||||
panelPartsList.add("Skeletons", JScrollPane(panelSkeletonsList))
|
||||
|
||||
val panelDataView = JSplitPane(JSplitPane.VERTICAL_SPLIT, JScrollPane(panelProperties), panelPartsList)
|
||||
panelProperties.preferredSize = Dimension(1, 300)
|
||||
panelPartsList.preferredSize = Dimension(1, 200)
|
||||
|
||||
val panelTop = JSplitPane(JSplitPane.HORIZONTAL_SPLIT, JScrollPane(panelPreview), panelDataView)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user