iced-rs/iced

Superfluous alignment functions

Ouverte

#286 ouverte le 11 avr. 2020

 (7 commentaires) (5 réactions) (0 personne assignée)Rust (1 572 forks)batch import
good first issuehelp wantedlayoutquestion

Métriques du dépôt

Stars
 (30 491 étoiles)
Métriques de merge PR
 (Merge moyen 24j 11h) (11 PRs mergées en 30 j)

Description

The current api exposes multiple ways for alignment to be expressed:

  • Container::center_x is equivalent to Container::align_x(Center)
  • HorizonalAlignment, VerticalAlignement, and Align all express the same concept.

These introduce more names and relationships for users to learn about in the api, and I think reducing them would be positive. could we remove them?

Guide contributeur