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

UI/UX Design: The name for a specific field be equidistant from its intended field and another field #2595

Open
arulferiandevops opened this issue Jun 28, 2024 · 2 comments
Labels
P2 Medium priority issue ux

Comments

@arulferiandevops
Copy link

arulferiandevops commented Jun 28, 2024

Issue: The name for a specific field be equidistant from its intended field and another field
Solution requested: The name for a specific field should be closer to its intended field than another field

Feature Request
On the UI/UX design, the name for a specific field is currently equidistant from its intended field and another field.

Solution
The name for a specific field should be closer to its intended field than another field.

Additional context
image

Thanks

Would you like to work on the issue?
@jingtang10 @f-odhiambo @SebaMutuku @MargaretNjenga

@santosh-pingle santosh-pingle added P2 Medium priority issue ux labels Jul 1, 2024
@jingtang10
Copy link
Collaborator

this should be also achievable using the customization options from https://google.github.io/android-fhir/use/SDCL/Customize-how-a-Questionnaire-is-displayed/#localize-questionnaires

@santosh-pingle
Copy link
Collaborator

I tried to reduce the space between the view and question text without requiring changes in the datacapture module. You need to override the attribute questionnaireQuestionHeaderStyle by providing a custom style where you modify the padding and margin values.

<item name="questionnaireQuestionHeaderStyle">
            @style/Catalog.QuestionHeaderStyle
</item>
<style name="Catalog.QuestionHeaderStyle" parent="">
        <item name="android:paddingBottom">1dp</item>
        <item name="android:layout_marginTop">16dp</item>
    </style>

Screenshot 2024-07-19 at 10 22 02 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Medium priority issue ux
Projects
Status: New
Development

No branches or pull requests

3 participants