mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Allow BlockClock to scale and maintain 1/3 of the available window real estate #306
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!306
Loading…
Reference in a new issue
No description provided.
Delete branch "scale-noderunner-window"
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?
Follow up can allow to customize this scaling in settings.
small window size
large window size
Allowing for different scale factors is as easy as changing the number 3 here
Concept ACK
This is great, glad to see that just increasing the icon size resolves the icon scaling problem. My preference would be 2/3 of the width/height but i'll leave that to the designers to decide on a default.
I think the scaling logic for the dial looks great. I'm not sure about the network indicator scaling and having the two scale off of the their parent's parent width/height. It breaks the encapsulation.
I don't think these properties are needed. You can reference the parent with root.parent.width and root.parent.height.
I understand why you did it here to match the original design, but I think making the size of this component depend on the size of the dial creates the wierd logic with having to know more about the parents layout than it should.
Updated from 87b9f59 to 71a1d99, compare
Changes:
I think its better for clarity, and this in a small way documents what the proportions are based on by default - coming from the design file
Updated from 71a1d99 to d138d1c, compare
Changes: block clock is now 5/12 in size by default, this is halfway between 1/2 and 1/3.
ACK d138d1c06873dab390ca89d80e22cb337ddecbf4
Updated from d138d1c to cf6e327, compare
Changes: reverted back to using a scale factor of 1/3. We can fine tune this later
ACK cf6e327


seems to scale fine:
Closing this in favor of keeping everything in https://github.com/bitcoin-core/gui-qml/pull/311