Fix questItem spacing.
This commit is contained in:
		
							parent
							
								
									0fe6fe6a33
								
							
						
					
					
						commit
						b17eefac39
					
				
					 1 changed files with 34 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@ package com.pixelized.rplexicon.ui.screens.quest.list
 | 
			
		|||
 | 
			
		||||
import android.content.res.Configuration
 | 
			
		||||
import androidx.compose.foundation.layout.Arrangement
 | 
			
		||||
import androidx.compose.foundation.layout.Box
 | 
			
		||||
import androidx.compose.foundation.layout.Row
 | 
			
		||||
import androidx.compose.material3.MaterialTheme
 | 
			
		||||
import androidx.compose.material3.Surface
 | 
			
		||||
| 
						 | 
				
			
			@ -52,9 +53,11 @@ fun QuestItem(
 | 
			
		|||
) {
 | 
			
		||||
    val typography = MaterialTheme.lexicon.typography
 | 
			
		||||
 | 
			
		||||
    Row(
 | 
			
		||||
    Box(
 | 
			
		||||
        modifier = modifier,
 | 
			
		||||
        verticalAlignment = Alignment.CenterVertically,
 | 
			
		||||
        contentAlignment = Alignment.CenterStart,
 | 
			
		||||
    ) {
 | 
			
		||||
        Row(
 | 
			
		||||
            horizontalArrangement = Arrangement.spacedBy(8.dp),
 | 
			
		||||
        ) {
 | 
			
		||||
            Text(
 | 
			
		||||
| 
						 | 
				
			
			@ -87,6 +90,7 @@ fun QuestItem(
 | 
			
		|||
            )
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@Composable
 | 
			
		||||
@Preview(uiMode = Configuration.UI_MODE_NIGHT_NO)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue