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

Extend support for Font size costumization to Graph operators #24

Open
bruno-f-cruz opened this issue Apr 29, 2024 · 0 comments
Open

Extend support for Font size costumization to Graph operators #24

bruno-f-cruz opened this issue Apr 29, 2024 · 0 comments
Labels
proposal Request for a new feature

Comments

@bruno-f-cruz
Copy link

UI elements (e.g. Button, Slider) can be composable using the TableLayoutPanel container operator. A great feature is the ability to override a lot of the appearance of all children via their Font property, or even via the same property of the container, that overrides all children.

Unfortunately, the equivalent pattern for Graph related operators is not available, since the property is not exposed at the level of the graph operator. This is unfortunate as one of the most annoying behaviors that result from the composition of graphs in containers is how small labels immediately get since they scale to the size of the cell in the container.

There are a few decisions that should be considered to allow this scaling:

  • Should we expose the Font property in the Graph nodes or just Font Size?
  • Should the Font Size be scaled automatically to the size of the cell ?
  • Should the Font property of the container (e.g. TableLayoutPanel) attempt to override all graph children
  • How to handle the different text elements on the container? (e.g. x/y axis, x/y axis labels, title, series labels)
@glopesdev glopesdev added the proposal Request for a new feature label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants