チャットパレット内の変数名を右寄せで表示するのをやめる#101
Open
ViVi-shark wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
チャットパレットの変数名部分について、これまでは右寄せのスタイルが設定されていた。
もっとも、原則的には変数名は必要なだけの幅しかとらないため、そのかぎりにおいては右寄せだろうがそうでなかろうが表示に差異はない。
差異があるのは、変数名があるていど以上に長い場合。
変数名が途中で折り返され、結果として要素幅に対してテキスト幅が小さくなるとき、右寄せであることがあらわになる。
(「デクスタリティポーション」が右寄せで表示されている)
その変数単体で見た場合にはともかく、他の(右寄せであることがあらわになっていない)変数(※上の画像では「キャッツアイ」がそれに該当)と連続していると、テキストの左端が揃っていないように見えて、いさかか不自然なものがある。
このことをふまえ、またとくに右寄せでなければならない理由もなさそうなので、右寄せをやめる。