PY-77483: Python Welcome screen size: increase size

We have 5 buttons instead of platform 3, so we need more space

GitOrigin-RevId: 7d873ca435e003f5493555010378ba02ea13ab7e
This commit is contained in:
Ilya.Kazakevich
2024-11-24 17:53:38 +00:00
committed by intellij-monorepo-bot
parent 7d2f2e8193
commit 103eb02ee4
2 changed files with 7 additions and 2 deletions
@@ -10,7 +10,7 @@ import org.jetbrains.intellij.build.io.copyFileToDir
import java.nio.file.Files
import java.nio.file.Path
open class PyCharmCommunityProperties(private val communityHome: Path) : PyCharmPropertiesBase() {
open class PyCharmCommunityProperties(private val communityHome: Path) : PyCharmPropertiesBase(enlargeWelcomeScreen = true) {
override val customProductCode: String
get() = "PC"
@@ -1,6 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.intellij.build.pycharm
import kotlinx.collections.immutable.plus
import org.jetbrains.intellij.build.BuildContext
import org.jetbrains.intellij.build.JetBrainsProductProperties
import org.jetbrains.intellij.build.TEST_FRAMEWORK_WITH_JAVA_RT
@@ -11,11 +12,15 @@ import java.util.function.Predicate
const val PYDEVD_PACKAGE: String = "pydevd_package"
abstract class PyCharmPropertiesBase : JetBrainsProductProperties() {
abstract class PyCharmPropertiesBase(enlargeWelcomeScreen: Boolean) : JetBrainsProductProperties() {
override val baseFileName: String
get() = "pycharm"
init {
if (enlargeWelcomeScreen) {
additionalVmOptions += "-Dwelcome.screen.defaultWidth=1000"
additionalVmOptions += "-Dwelcome.screen.defaultHeight=720"
}
reassignAltClickToMultipleCarets = true
useSplash = true
productLayout.addPlatformSpec(TEST_FRAMEWORK_WITH_JAVA_RT)