iced-rs/iced

Superfluous alignment functions

Aberta

#286 aberto em 11 de abr. de 2020

 (7 comentários) (5 reações) (0 responsável)Rust (1.572 forks)batch import
good first issuehelp wantedlayoutquestion

Métricas do repositório

Stars
 (30.491 estrelas)
Métricas de merge de PR
 (Mesclagem média 24d 11h) (11 fundiu PRs em 30d)

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?

Guia do colaborador