File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
src/main/kotlin/com/joetr/modulemaker Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11# Module Maker Changelog
22
3+ ## [ 1.0.25]
4+ - Update window sizes
5+
36## [ 1.0.24]
47- Update Platform Version
58
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pluginGroup = com.joetr.modulemaker
44pluginName = ModuleMaker
55pluginRepositoryUrl = https://github.com/j-roskopf/ModuleMakerPlugin
66# SemVer format -> https://semver.org
7- pluginVersion = 1.0.24
7+ pluginVersion = 1.0.25
88
99# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010pluginSinceBuild = 222
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import javax.swing.JComponent
5555private const val WINDOW_WIDTH = 840
5656private const val WINDOW_HEIGHT = 600
5757private const val FILE_TREE_WIDTH = 300
58+ private const val CONFIGURATION_PANEL_WIDTH = 540
5859
5960const val ANDROID = " Android"
6061const val KOTLIN = " Kotlin"
@@ -115,11 +116,12 @@ class ModuleMakerDialogWrapper(
115116 Row {
116117 val startingHeight = remember { mutableStateOf(WINDOW_HEIGHT ) }
117118 val fileTreeWidth = remember { mutableStateOf(FILE_TREE_WIDTH ) }
119+ val configurationPanelWidth = remember { mutableStateOf(CONFIGURATION_PANEL_WIDTH ) }
118120 FileTreeJPanel (
119121 modifier = Modifier .height(startingHeight.value.dp).width(fileTreeWidth.value.dp)
120122 )
121123 ConfigurationPanel (
122- modifier = Modifier .height(startingHeight.value.dp)
124+ modifier = Modifier .height(startingHeight.value.dp).width(configurationPanelWidth.value.dp)
123125 )
124126 }
125127 }
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import androidx.compose.foundation.layout.Column
44import androidx.compose.foundation.layout.defaultMinSize
55import androidx.compose.foundation.layout.fillMaxSize
66import androidx.compose.foundation.layout.fillMaxWidth
7+ import androidx.compose.foundation.layout.height
78import androidx.compose.foundation.layout.padding
9+ import androidx.compose.foundation.layout.width
810import androidx.compose.foundation.rememberScrollState
911import androidx.compose.foundation.verticalScroll
1012import androidx.compose.material.Button
@@ -130,7 +132,7 @@ class SettingsDialogWrapper(
130132
131133 WidgetTheme {
132134 Surface {
133- Column (modifier = Modifier .fillMaxWidth( )) {
135+ Column (modifier = Modifier .width( WINDOW_WIDTH .dp).height( WINDOW_HEIGHT .dp )) {
134136 TabRow (selectedTabIndex = tabIndex, backgroundColor = Color .Transparent ) {
135137 tabs.forEachIndexed { index, title ->
136138 Tab (
You can’t perform that action at this time.
0 commit comments