File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1979,7 +1979,9 @@ internal object GraphOutput : RunOutput() {
1979
1979
override val isActive: Boolean = true
1980
1980
override var buttons: List <Form .IconButtonArg > = emptyList()
1981
1981
1982
- private val placeholderPadding = 20 .dp
1982
+ companion object {
1983
+ private val MESSAGE_PADDING = 20 .dp
1984
+ }
1983
1985
1984
1986
@Composable
1985
1987
override fun BrowserLayout () {
@@ -1990,9 +1992,10 @@ internal object GraphOutput : RunOutput() {
1990
1992
1991
1993
@Composable
1992
1994
private fun SelectVertexMessage () {
1993
- Box (Modifier .fillMaxSize().padding(placeholderPadding), Alignment .Center ) {
1994
- Form .Text (Label .GRAPH_CONCEPT_PREVIEW_PLACEHOLDER , align = TextAlign .Center , softWrap = true )
1995
- }
1995
+ Box (
1996
+ modifier = Modifier .fillMaxSize().background(Theme .studio.backgroundLight).padding(MESSAGE_PADDING ),
1997
+ contentAlignment = Alignment .Center
1998
+ ) { Form .Text (Label .GRAPH_CONCEPT_PREVIEW_PLACEHOLDER , align = TextAlign .Center , softWrap = true ) }
1996
1999
}
1997
2000
}
1998
2001
@@ -2003,7 +2006,7 @@ internal object GraphOutput : RunOutput() {
2003
2006
2004
2007
@Composable
2005
2008
fun Layout () {
2006
- Column {
2009
+ Column ( Modifier .fillMaxSize().background( Theme .studio.backgroundMedium)) {
2007
2010
TitleSection ()
2008
2011
if (props.isNotEmpty()) Table ()
2009
2012
}
You can’t perform that action at this time.
0 commit comments