Reduced titles sizes and limited secondary button lines to 1
This commit is contained in:
parent
914edc9aa7
commit
6398244895
@ -349,7 +349,8 @@ fun DiffHeader(
|
||||
|
||||
Text(
|
||||
text = filePath,
|
||||
style = MaterialTheme.typography.body1,
|
||||
style = MaterialTheme.typography.body2,
|
||||
maxLines = 1,
|
||||
modifier = Modifier.padding(horizontal = 16.dp),
|
||||
)
|
||||
|
||||
|
@ -20,6 +20,7 @@ fun SecondaryButton(
|
||||
text: String,
|
||||
textColor: Color = Color.White,
|
||||
backgroundButton: Color,
|
||||
maxLines: Int = 1,
|
||||
onClick: () -> Unit,
|
||||
) {
|
||||
Box(
|
||||
@ -33,6 +34,7 @@ fun SecondaryButton(
|
||||
text = text,
|
||||
style = MaterialTheme.typography.body2,
|
||||
color = textColor,
|
||||
maxLines = maxLines,
|
||||
modifier = Modifier.padding(vertical = 4.dp, horizontal = 16.dp)
|
||||
)
|
||||
}
|
||||
|
@ -578,7 +578,7 @@ fun GraphHeader(
|
||||
modifier = Modifier.width(graphWidth).padding(start = 16.dp),
|
||||
text = "Graph",
|
||||
color = MaterialTheme.colors.headerText,
|
||||
style = MaterialTheme.typography.body1,
|
||||
style = MaterialTheme.typography.body2,
|
||||
maxLines = 1,
|
||||
)
|
||||
|
||||
@ -598,7 +598,7 @@ fun GraphHeader(
|
||||
.weight(1f),
|
||||
text = "Message",
|
||||
color = MaterialTheme.colors.headerText,
|
||||
style = MaterialTheme.typography.body1,
|
||||
style = MaterialTheme.typography.body2,
|
||||
maxLines = 1,
|
||||
)
|
||||
|
||||
@ -609,7 +609,7 @@ fun GraphHeader(
|
||||
) {
|
||||
Icon(
|
||||
Icons.Default.Search,
|
||||
modifier = Modifier.size(24.dp),
|
||||
modifier = Modifier.size(18.dp),
|
||||
contentDescription = null,
|
||||
tint = MaterialTheme.colors.primaryTextColor,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user