Coder Social home page Coder Social logo

Comments (14)

Sjors avatar Sjors commented on August 31, 2024

More emphasis on the primary action makes sense. I think there's a QT standard way of marking buttons as such:
Schermafbeelding 2020-07-02 om 20 44 50

Schermafbeelding 2020-07-02 om 20 45 52

from gui.

hebasto avatar hebasto commented on August 31, 2024

@Sjors
Unfortunately, on Linux it looks not such emphasized:

Screenshot from 2020-07-11 11-22-27

from gui.

Sjors avatar Sjors commented on August 31, 2024

I see a subtle blue line around Hide. Can you show a screen with more than 1 button? Doing non-native styling can get real ugly real fast in my experience.

from gui.

hebasto avatar hebasto commented on August 31, 2024

@Sjors

I see a subtle blue line around Hide. Can you show a screen with more than 1 button?

Qt 5.9.8 (static):
Screenshot from 2020-07-17 12-50-30

Qt 5.12.8 (dynamic):
Screenshot from 2020-07-17 12-35-52

Doing non-native styling can get real ugly real fast in my experience.

Agree.

from gui.

Sjors avatar Sjors commented on August 31, 2024

I think these are both clear enough, the static build (which we ship) is the most clear.

So in the original example, maybe we just need to mark the Receive button as primary?

from gui.

hebasto avatar hebasto commented on August 31, 2024

I think these are both clear enough, the static build (which we ship) is the most clear.

So in the original example, maybe we just need to mark the Receive button as primary?

Actually, in a such way not the "primary action" button highlighted rather the focused one.

from gui.

hebasto avatar hebasto commented on August 31, 2024

@statusquont
Mind providing an example among desktop widget-based applications to find the solution without non-native styling?

from gui.

statusquont avatar statusquont commented on August 31, 2024

I'm not sure if I understand what you're asking for, but hopefully this helps, from the GitHub Desktop application (Windows).

image

If I misunderstood the question please advise.

from gui.

hebasto avatar hebasto commented on August 31, 2024

Concept ACK.

To implement this feature into the code (say, "primary push button") some design decisions are required to make it harmonized with the used styles on all supported platforms.

It could be made as artworks, e.g., https://doc.qt.io/qt-5/gallery.html

Doing non-native styling can get real ugly real fast in my experience.

That is it what we should avoid for sure.

from gui.

statusquont avatar statusquont commented on August 31, 2024

Yeah, that makes a lot of sense. IMO a good design should be there to help a user make decisions, but other than that, get out of the way and don't cause distraction.

I'm not too familiar with QT, but I would presume (and hope) that efforts have been made in that project to consider usability for all types of users (including vision impaired for example) and design the UI accordingly. So leaning on QT's prior work makes a lot of sense. In that regard, I'll retract my previous suggestion of "give primary action buttons an orange background" since that seems to be outside of the scope at this time. Perhaps it can be revisited at a later time as the Bitcoin Design working group make further progress to establish a set of visual standards.

To wrap this issue up, I'd just ask whether or not the 'Create New Receiving Address' button is inheriting the default button push properties from QT in order to help the user make a decision?
https://doc.qt.io/qt-5/qpushbutton.html#default-prop

I'm not sure where/how to check the code to answer this question myself.

from gui.

hebasto avatar hebasto commented on August 31, 2024

@statusquont

To wrap this issue up, I'd just ask whether or not the 'Create New Receiving Address' button is inheriting the default button push properties from QT in order to help the user make a decision?
https://doc.qt.io/qt-5/qpushbutton.html#default-prop

I'm not sure where/how to check the code to answer this question myself.

Mind testing #39 ?

from gui.

statusquont avatar statusquont commented on August 31, 2024

Looks improved, slightly, but still an improvement nonetheless! 👍

from gui.

statusquont avatar statusquont commented on August 31, 2024

Not sure of proper protocol here. Do I close this issue? Or does it auto-close once #39 gets closed?

from gui.

hebasto avatar hebasto commented on August 31, 2024

Not sure of proper protocol here. Do I close this issue? Or does it auto-close once #39 gets closed?

The latter one :)

from gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.