Skip to content

Commit

Permalink
fix spacing in the Settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-chung committed Nov 17, 2024
1 parent ff2bd4c commit addde96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private enum class SettingTab {
Data, Appearance
}

private val COLUMN_HEADER_WIDTH = 140.dp
private val COLUMN_HEADER_WIDTH = 170.dp

@Composable
private fun Section(title: CharSequence, content: @Composable ColumnScope.() -> Unit) {
Expand Down Expand Up @@ -383,7 +383,7 @@ fun AppearanceTab() {
}) {
Column {
Row(verticalAlignment = Alignment.CenterVertically) {
AppText(text = "Preferred Rendering (Requires restarting the app to change) (Current: ${AppContext.instance.renderingApi})", modifier = Modifier.width(COLUMN_HEADER_WIDTH))
AppText(text = "Preferred Rendering (Requires restarting the app to change) (Current: ${AppContext.instance.renderingApi})", modifier = Modifier.width(COLUMN_HEADER_WIDTH).padding(6.dp))
DropDownView(
selectedItem = run {
val item = userPreference.preferredRenderingApi_Experimental ?: RenderingApi.Default
Expand Down

0 comments on commit addde96

Please sign in to comment.