Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

[Enhancement] Label #52

Open
ghost opened this issue Oct 1, 2021 · 2 comments
Open

[Enhancement] Label #52

ghost opened this issue Oct 1, 2021 · 2 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@ghost
Copy link

ghost commented Oct 1, 2021

The library seems incomplete without a label. If you can't draw text you loose the benefit of everything looking the same across all platforms.

<Label  TextType="Html" Text="{Binding Name}">
@jsuarezruiz jsuarezruiz added the enhancement New feature or request label Oct 1, 2021
@jsuarezruiz
Copy link
Contributor

We can split the implementation into three phases:

  • Basic: Implement Text, TextColor, HorizontalTextAlignment, VerticalTextAlignment properties.
  • Advanced: Implement TextDecoration, MaxLinex and Font properties.
  • Complete: Implement TextType property with other pending properties.

@jsuarezruiz jsuarezruiz changed the title Label Control Missing [Enhancement] Label Oct 11, 2021
@ghost
Copy link
Author

ghost commented Oct 12, 2021

We can split the implementation into three phases:

  • Basic: Implement Text, TextColor, HorizontalTextAlignment, VerticalTextAlignment properties.
  • Advanced: Implement TextDecoration, MaxLinex and Font properties.
  • Complete: Implement TextType property with other pending properties.

Would it make it easier to split it into 2 controls HtmlLabel and Label (similar to horizontal and vertical stack that we now have in MAUI) or is the goal to keep it 100% the same as the standard control?

On the Microsoft Maui Graphics there is dotnet/Microsoft.Maui.Graphics#21 would this affect or delay the implementation of Html part of the control?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant