File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
src/main/kotlin/com/lambda/gui/components Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,13 @@ object QuickSearch {
7575 override val breadcrumb = " Module"
7676
7777 override fun ImGuiBuilder.buildLayout () {
78- with (ModuleEntry (module)) { buildLayout() }
78+ with (ModuleEntry (module)) {
79+ buildLayout {
80+ withItemWidth(ImGui .getContentRegionAvailX()) {
81+ buildLayout()
82+ }
83+ }
84+ }
7985 }
8086 }
8187
@@ -96,7 +102,13 @@ object QuickSearch {
96102 override val breadcrumb: String by lazy { buildSettingBreadcrumb(configurable.name, setting) }
97103
98104 override fun ImGuiBuilder.buildLayout () {
99- with (setting) { buildLayout() }
105+ with (setting) {
106+ buildLayout {
107+ withItemWidth(ImGui .getContentRegionAvailX()) {
108+ buildLayout()
109+ }
110+ }
111+ }
100112 }
101113 }
102114
You can’t perform that action at this time.
0 commit comments