-
Notifications
You must be signed in to change notification settings - Fork 59
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
[UX] Adjustments and Updates to widgets on Questionnaire - SDC #1974
Comments
The SDK allows us to override the QuestionnaireItem widget's style or dimension. The catch is that dimens may be used not only by the component we want to change but also by other components. e.g. say we want to change the margin top for widgets, in some parts of the SDK, padding_default is used as a top margin for widgets, but it is also used for check box view padding; if we override that dimens property, it will affect both, which we don't want to happen. NOTE: I don't know why they use padding_default as margin top, it feels wrong. For overriding styles, here's one example of the requirement we can implement on FHIR Core.
Here's one example of the requirement we can't implement on FHIR Core, need to do this in SDK.
|
For the |
@FikriMilano are we overriding this by updating the |
@dubdabasoduba yeah, |
@f-odhiambo SS 1
SS 2
SS 3
|
@FikriMilano Thanks for looping me in. I see there's a couple of SDK padding issues, I'm hopeful that we can make these changes in the SDK. Can you file an issue on the SDK github with what the ideal padding would be and tag me in it? Thanks! |
@shelaghm thanks for commenting! I will surely file an issue on the SDK and tag you. |
@f-odhiambo @dubdabasoduba is this still low priority? or do we need to get this merged soon? |
Blocked by google/android-fhir#1852 |
@FikriMilano This is now unblocked |
Good reminder @f-odhiambo |
@HenryRae to review and share an update on the widget styling for this ticket |
Summary: Use text buttons on paginated forms, and rectangular buttons with background color on non-paginated forms |
Describe the enhancement
Screenshot 1
-The sapcing between the question and the body has been updated from 24px to 16px.
Adjusted Designs
Screenshot 2
Adjusted Design
Screenshot 3
The text was updated successfully, but these errors were encountered: