Small graphical fixes.
This commit is contained in:
parent
13d214725e
commit
dc5e635f13
4 changed files with 6 additions and 2 deletions
|
|
@ -108,6 +108,7 @@ fun HandleHitPointEditDialog(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Text(
|
Text(
|
||||||
|
modifier = Modifier.padding(bottom = 16.dp),
|
||||||
fontWeight = FontWeight.Light,
|
fontWeight = FontWeight.Light,
|
||||||
style = MaterialTheme.typography.bodyLarge,
|
style = MaterialTheme.typography.bodyLarge,
|
||||||
text = "+"
|
text = "+"
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ fun ActionPage(
|
||||||
val scope = rememberCoroutineScope()
|
val scope = rememberCoroutineScope()
|
||||||
|
|
||||||
ActionsPageContent(
|
ActionsPageContent(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
header = headerViewModel.header,
|
header = headerViewModel.header,
|
||||||
attacks = attacksViewModel.attacks,
|
attacks = attacksViewModel.attacks,
|
||||||
tokens = skillViewModel.skills,
|
tokens = skillViewModel.skills,
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import android.content.res.Configuration.UI_MODE_NIGHT_NO
|
||||||
import android.content.res.Configuration.UI_MODE_NIGHT_YES
|
import android.content.res.Configuration.UI_MODE_NIGHT_YES
|
||||||
import androidx.compose.foundation.ExperimentalFoundationApi
|
import androidx.compose.foundation.ExperimentalFoundationApi
|
||||||
import androidx.compose.foundation.layout.PaddingValues
|
import androidx.compose.foundation.layout.PaddingValues
|
||||||
|
import androidx.compose.foundation.layout.fillMaxSize
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.lazy.items
|
import androidx.compose.foundation.lazy.items
|
||||||
|
|
@ -33,6 +34,7 @@ fun AlterationPage(
|
||||||
val scope = rememberCoroutineScope()
|
val scope = rememberCoroutineScope()
|
||||||
|
|
||||||
AlterationPageContent(
|
AlterationPageContent(
|
||||||
|
modifier = Modifier.fillMaxSize(),
|
||||||
alterations = viewModel.alterations,
|
alterations = viewModel.alterations,
|
||||||
onAlterationInfo = {
|
onAlterationInfo = {
|
||||||
viewModel.showAlterationDetail(id = it)
|
viewModel.showAlterationDetail(id = it)
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import androidx.compose.foundation.layout.Arrangement
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.ColumnScope
|
import androidx.compose.foundation.layout.ColumnScope
|
||||||
|
import androidx.compose.foundation.layout.fillMaxSize
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.layout.sizeIn
|
import androidx.compose.foundation.layout.sizeIn
|
||||||
|
|
@ -61,7 +62,7 @@ fun ProficiencyPage(
|
||||||
|
|
||||||
viewModel.sheet.value?.let { sheet ->
|
viewModel.sheet.value?.let { sheet ->
|
||||||
ProficiencyPageContent(
|
ProficiencyPageContent(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
sheet = sheet,
|
sheet = sheet,
|
||||||
onInitiative = {
|
onInitiative = {
|
||||||
overlay.prepareRoll(diceThrow = viewModel.initiativeRoll())
|
overlay.prepareRoll(diceThrow = viewModel.initiativeRoll())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue