Small graphical fixes.

This commit is contained in:
Thomas Andres Gomez 2023-10-16 13:56:24 +02:00
parent 13d214725e
commit dc5e635f13
4 changed files with 6 additions and 2 deletions

View file

@ -108,6 +108,7 @@ fun HandleHitPointEditDialog(
)
}
Text(
modifier = Modifier.padding(bottom = 16.dp),
fontWeight = FontWeight.Light,
style = MaterialTheme.typography.bodyLarge,
text = "+"

View file

@ -64,7 +64,7 @@ fun ActionPage(
val scope = rememberCoroutineScope()
ActionsPageContent(
modifier = Modifier.fillMaxWidth(),
modifier = Modifier.fillMaxSize(),
header = headerViewModel.header,
attacks = attacksViewModel.attacks,
tokens = skillViewModel.skills,

View file

@ -4,6 +4,7 @@ import android.content.res.Configuration.UI_MODE_NIGHT_NO
import android.content.res.Configuration.UI_MODE_NIGHT_YES
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
@ -33,6 +34,7 @@ fun AlterationPage(
val scope = rememberCoroutineScope()
AlterationPageContent(
modifier = Modifier.fillMaxSize(),
alterations = viewModel.alterations,
onAlterationInfo = {
viewModel.showAlterationDetail(id = it)

View file

@ -8,6 +8,7 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.sizeIn
@ -61,7 +62,7 @@ fun ProficiencyPage(
viewModel.sheet.value?.let { sheet ->
ProficiencyPageContent(
modifier = Modifier.fillMaxWidth(),
modifier = Modifier.fillMaxSize(),
sheet = sheet,
onInitiative = {
overlay.prepareRoll(diceThrow = viewModel.initiativeRoll())