iced-rs/iced

Superfluous alignment functions

オープン

#286 opened on 2020/04/11

 (7 件のコメント) (5 件のリアクション) (0 人の担当者)Rust (1,572 件のフォーク)batch import
good first issuehelp wantedlayoutquestion

Repository metrics

Stars
 (30,491 個のスター)
PR merge metrics
 (平均マージ 24d 11h) (30d で 11 merged PRs)

説明

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?

コントリビューターガイド