WIP: Paint rounded caps at the start and end of the Blockclock dial #309

Closed
johnny9 wants to merge 1 commit from rounded-dial into main AGit
johnny9 commented 2023-03-31 03:06:05 +00:00 (Migrated from github.com)

Windows
Intel macOS
Apple Silicon macOS
ARM64 Android

[![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/309) [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/309) [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/309) [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/309)
jarolrod commented 2023-03-31 03:52:03 +00:00 (Migrated from github.com)

should base on 306

should base on [306](https://github.com/bitcoin-core/gui-qml/pull/306)
jarolrod (Migrated from github.com) reviewed 2023-04-10 18:28:01 +00:00
jarolrod (Migrated from github.com) left a comment

Works really well, but gaps are painting too thick

master pr
Screen Shot 2023-04-10 at 2 29 50 PM Screen Shot 2023-04-10 at 2 27 30 PM
Works really well, but gaps are painting too thick | master | pr | | ------ | -- | | <img width="257" alt="Screen Shot 2023-04-10 at 2 29 50 PM" src="https://user-images.githubusercontent.com/23396902/230968235-0dd1c8b5-153e-4d0d-95c7-c0469dca67de.png"> | <img width="319" alt="Screen Shot 2023-04-10 at 2 27 30 PM" src="https://user-images.githubusercontent.com/23396902/230967784-a040e54c-a5f3-4d24-9268-d302ba45243a.png"> |
GBKS commented 2023-04-12 12:37:00 +00:00 (Migrated from github.com)

Rounded edges might work a little more nicely here.

image

I like how in the PR, the top hour indicator dot is covered. Looks cleaner, like the center line of segment starts at midnight/noon, and then the thickness of the line expands from that in all directions (hope that makes any sense, let me know if you want me to visualize it).

Also, is it possible to turn the hour indicator dots into actual circles? They seem like small segments of the block circle right now.

Rounded edges might work a little more nicely here. <img width="595" alt="image" src="https://user-images.githubusercontent.com/695901/231457261-6c5ec068-5e0e-407a-b4bf-268ed14fe154.png"> I like how in the PR, the top hour indicator dot is covered. Looks cleaner, like the center line of segment starts at midnight/noon, and then the thickness of the line expands from that in all directions (hope that makes any sense, let me know if you want me to visualize it). Also, is it possible to turn the hour indicator dots into actual circles? They seem like small segments of the block circle right now.
jarolrod commented 2023-04-18 02:09:22 +00:00 (Migrated from github.com)

@GBKS we will have to patch the line caps within qt, we can do this for right now to get us a tiny bit closer to the designs.

@GBKS we will have to patch the line caps within qt, we can do this for right now to get us a tiny bit closer to the designs.
jarolrod (Migrated from github.com) reviewed 2023-04-18 03:00:19 +00:00
jarolrod (Migrated from github.com) commented 2023-04-18 03:00:19 +00:00

As a start, this makes the gaps close to what we want them to be

        path.arcTo(gapBounds, nextAngle, gap);
As a start, this makes the gaps close to what we want them to be ```suggestion path.arcTo(gapBounds, nextAngle, gap); ```
jarolrod commented 2023-05-29 03:42:16 +00:00 (Migrated from github.com)

Ping @johnny9 any update on the sizing issue here?

Ping @johnny9 any update on the sizing issue here?
jarolrod (Migrated from github.com) reviewed 2023-09-08 06:26:15 +00:00
jarolrod (Migrated from github.com) left a comment

This still has an issue with the spacing for the divisions. Would be nice to iron that out as this is a visual improvement/refinement versus what's currently there:

Master PR
Screenshot 2023-09-08 at 1 25 12 AM Screenshot 2023-09-08 at 1 25 34 AM
This still has an issue with the spacing for the divisions. Would be nice to iron that out as this is a visual improvement/refinement versus what's currently there: | Master | PR | | ------ | -- | <img width="525" alt="Screenshot 2023-09-08 at 1 25 12 AM" src="https://git.fish.foo/attachments/e73df8bd-d4a0-4a7c-9f54-65198b3b5a2b"> | <img width="554" alt="Screenshot 2023-09-08 at 1 25 34 AM" src="https://git.fish.foo/attachments/502dcefd-75c4-4eb9-815c-b19c8399474e"> |
jarolrod commented 2024-10-26 23:45:42 +00:00 (Migrated from github.com)

Closing due to inactivity, but also because this really isn't good enough. For a component as important as the Block Clock, We should figure out how to adhere to the design file specifications.

Closing due to inactivity, but also because this really isn't good enough. For a component as important as the Block Clock, We should figure out how to adhere to the design file specifications.
Sign in to join this conversation.
No description provided.