From 05ebaae11ef99f180812f17c2c2e4bc5e6eac002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Przemys=C5=82aw=20Pluta?= Date: Thu, 18 Feb 2021 23:50:22 +0100 Subject: [PATCH] [Editor] Set max map editor drawer width to 256 --- .../bartlomiejpluta/base/editor/map/view/editor/MapFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/src/main/kotlin/com/bartlomiejpluta/base/editor/map/view/editor/MapFragment.kt b/editor/src/main/kotlin/com/bartlomiejpluta/base/editor/map/view/editor/MapFragment.kt index 71ca7fb8..e06ee45c 100644 --- a/editor/src/main/kotlin/com/bartlomiejpluta/base/editor/map/view/editor/MapFragment.kt +++ b/editor/src/main/kotlin/com/bartlomiejpluta/base/editor/map/view/editor/MapFragment.kt @@ -31,6 +31,8 @@ class MapFragment : Fragment() { center = mapView.root right = drawer(multiselect = true) { + maxWidth = 256.0 + item("Layers", expanded = true) { this += layersView.root }