Adjusted UI font size
This commit is contained in:
parent
0044335f3e
commit
5bd15a0c22
@ -101,7 +101,7 @@ fun CommitChangesView(
|
||||
textAlign = TextAlign.Center,
|
||||
color = MaterialTheme.colors.headerText,
|
||||
maxLines = 1,
|
||||
fontSize = 14.sp,
|
||||
fontSize = 13.sp,
|
||||
)
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ fun Author(commit: RevCommit) {
|
||||
color = MaterialTheme.colors.secondaryTextColor,
|
||||
maxLines = 1,
|
||||
modifier = Modifier.padding(horizontal = 16.dp),
|
||||
fontSize = 12.sp,
|
||||
fontSize = 13.sp,
|
||||
tooltipTitle = authorIdent.`when`.toSystemDateTimeString()
|
||||
)
|
||||
|
||||
@ -185,7 +185,7 @@ fun CommitLogChanges(diffEntries: List<DiffEntry>, onDiffSelected: (DiffEntry) -
|
||||
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.height(48.dp)
|
||||
.height(40.dp)
|
||||
.fillMaxWidth()
|
||||
.clickable {
|
||||
selectedIndex.value = index
|
||||
@ -211,7 +211,7 @@ fun CommitLogChanges(diffEntries: List<DiffEntry>, onDiffSelected: (DiffEntry) -
|
||||
modifier = Modifier.padding(horizontal = 8.dp),
|
||||
color = textColor,
|
||||
maxLines = 1,
|
||||
fontSize = 14.sp,
|
||||
fontSize = 13.sp,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ private fun EntriesList(
|
||||
fontWeight = FontWeight.Bold,
|
||||
textAlign = TextAlign.Center,
|
||||
color = MaterialTheme.colors.headerText,
|
||||
fontSize = 14.sp,
|
||||
fontSize = 13.sp,
|
||||
maxLines = 1,
|
||||
)
|
||||
|
||||
@ -337,7 +337,7 @@ private fun FileEntry(
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.height(48.dp)
|
||||
.height(40.dp)
|
||||
.fillMaxWidth(),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
@ -356,7 +356,7 @@ private fun FileEntry(
|
||||
modifier = Modifier.weight(1f, fill = true),
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
fontSize = 14.sp,
|
||||
fontSize = 13.sp,
|
||||
color = MaterialTheme.colors.primaryTextColor,
|
||||
)
|
||||
}
|
||||
@ -368,15 +368,13 @@ private fun FileEntry(
|
||||
enter = fadeIn(),
|
||||
exit = fadeOut(),
|
||||
) {
|
||||
Button(
|
||||
SecondaryButton(
|
||||
onClick = onButtonClick,
|
||||
text = actionTitle,
|
||||
backgroundButton = actionColor,
|
||||
modifier = Modifier
|
||||
.padding(horizontal = 16.dp),
|
||||
elevation = ButtonDefaults.elevation(0.dp, 0.dp, 0.dp),
|
||||
colors = ButtonDefaults.buttonColors(backgroundColor = actionColor)
|
||||
) {
|
||||
Text(actionTitle, fontSize = 12.sp)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
@ -21,9 +21,8 @@ fun SideMenuEntry(
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.height(40.dp)
|
||||
.fillMaxWidth()
|
||||
.clickable(onClick = {}),
|
||||
.height(32.dp)
|
||||
.fillMaxWidth(),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
|
||||
|
@ -51,7 +51,7 @@ fun SideMenuSubentry(
|
||||
text = text,
|
||||
modifier = Modifier.weight(1f, fill = true),
|
||||
maxLines = 1,
|
||||
fontSize = 14.sp,
|
||||
fontSize = 13.sp,
|
||||
fontWeight = if (bold) FontWeight.SemiBold else FontWeight.Normal,
|
||||
color = MaterialTheme.colors.primaryTextColor,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
|
Loading…
Reference in New Issue
Block a user