Skip to content

Added GroupTitleStyle to allow styling of propertyGroups #14

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nergmada
Copy link

@nergmada nergmada commented Oct 18, 2020

So whilst trying to use the RadDataForm I couldn't seem to style Group titles for property groups. This PR basically just registers the GroupTitleStyle object so that it can be used to style groups as shown in example below

<propertyGroup bind:this={group} collapsible="true" name="Additional Options" hidden="false">
  <propertyGroup.titleStyle>
    <groupTitleStyle fillColor="#ffffff" />
  </propertyGroup.titleStyle>
  <entityProperty name="marks" displayName="Marks" index="3">
    <propertyEditor type="Numeric" />
  </entityProperty>
</propertyGroup>

Edit: For reference, here's a link to the NativeScript documentation regarding this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant