mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Use caret-right icon instead of greater-than text symbol #144
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!144
Loading…
Reference in a new issue
No description provided.
Delete branch "use-right-caret"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mainly only relevant in the
AboutOptionscomponent for now.Concept ACK
Screenshot:
Suggestion:
tACK commit 1c17b774e6363c53ff7e1d6249ee9abb10063f7c
I can see the change and it is all lined up on my machine. The one missing the change is the Proxy setting under 'Connection Settings' as @shaavan mentions
updated from from 1c17b77 to 1dcdac6 (pr144.01 -> pr144.02, diff)
Changes:
image://syntax instead ofqrcsyntax, as theimage://syntax is required for the image provider to work and provide a proper resolution image. Comparison below (top isimage://and below that isqrc:updated from 1dcdac6 to 36bc09d Compare
Changes: give the developer options setting button the correct action, where it will actually open the developer options subpage
updated from 36bc09d to f9f6921
changes: updated over changes on master
Why are the
icon.colorandbackgroundproperties are specified for some elements, but not for others?Button is a qml type, so we need to specify the
icon.color, background value explicitly for each time the Button is used asactionItem, which this PR does.Whereas, the
ExternalLinkis a custom-defined component that already employs the respective icon.color, and background value in its definition, so we need not specify that separately when using it.In
src/qml/controls/ExternalLink.qmlACK
f9f692136fThe
ExternalLinkandButtoncomponents replace all the instances of greater-than text symbol and are used appropriately.I have two ideas to discuss that we can consider incorporating in this PR or in a follow-up.
Button{}is used twice as anactionItemin the current implementation of GUI. There is a chance that we could need to use this Button configuration multiple times as the development progresses. So we can think about extracting this code as a separate component.ExternalLink{}where the default values foriconWidth, andiconHeight(30, 30)are used. All other usage instances modify these values to(18, 18). Changing the default values inExternalLink.qmlfor these properties will save up on redundant code.