Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANDROAPP-5617-mobile-ui-Horizontal-RadioButoons-and-checkboxes-resize-when-clear-button-appears #101

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.hisp.dhis.mobile.ui.designsystem.component

import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.width
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Cancel
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -85,6 +87,8 @@ fun InputCheckBox(
onClearSelection.invoke()
},
)
} else {
Spacer(modifier = Modifier.width(Spacing.Spacing48))
}
},
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.hisp.dhis.mobile.ui.designsystem.component

import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.width
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Cancel
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -89,6 +91,8 @@ fun InputRadioButton(
onItemChange.invoke(null)
},
)
} else {
Spacer(modifier = Modifier.width(Spacing.Spacing48))
}
},
)
Expand Down
Loading