Skip to content

Align Text related icons according to UI guidelines #2582

Closed

Description

@vogella

After @BeckerWdf and @Michael5601 fixed the misaligned icons at the beginning of the main toolbar, the text icons starts to stand out as misaligned.

image

image
image
image

Would be great if these could also be aligned according to the current UI standard.

Activity

  1. vogella commented on Dec 6, 2024

    @vogella
    ContributorAuthor

    @BeckerWdf can you help here?

  2. BeckerWdf commented on Dec 6, 2024

    @BeckerWdf
    Member

    @BeckerWdf can you help here?

    Yes I can. I just need to find some time for it.

  3. BeckerWdf commented on Dec 17, 2024

    @BeckerWdf
    Member

    @vogella: Is this issue now fixed?

  4. vogella commented on Dec 17, 2024

    @vogella
    ContributorAuthor

    Thanks @BeckerWdf, it looks much better for me:

    image

    If my sense of order is not mistaken, the last icon looks still looks not centered to me (it is a bit to low AFAICS).

    image

  5. Michael5601 commented on Dec 17, 2024

    @Michael5601

    Thanks @BeckerWdf, it looks much better for me:

    This is really a great improvement. I agree the last icon is still not right but the rest is fine.

  6. BeckerWdf commented on Dec 17, 2024

    @BeckerWdf
    Member

    if you give me the name / location of the icon I can have a look at it.

  7. Michael5601 commented on Dec 17, 2024

    @Michael5601

    The icon is pin_editor in org.eclipse.platform.doc.user\images and org.eclipse.ui\icons\full\etool16.

    It also has duplicates in:

    org.eclipse.search\icons\full\elcl16\pin_view.svg
    org.eclipse.jdt.ui\icons\full\elcl16\pin_view.svg
    eclipse.platform.common\bundles\org.eclipse.jdt.doc.user\images\org.eclipse.jdt.ui\elcl16\pin_view.svg

    and maybe also org.eclipse.ui\icons\full\elcl16\pin_view.svg because it looks like a half version of the original icon. I don't know if this is wanted.

  8. BeckerWdf commented on Dec 17, 2024

    @BeckerWdf
    Member

    See #2637

    Before on top / After below:
    image

    I also made some changes to the icon:

    • "Pin" moves up one pixel
    • "Editor" moves up one pixel and get's bigger by one pixel in width and height
    • Made all strokes exactly one pixel and aligned them on pixel borders (see the grid lines)

    Before:
    Screenshot 2024-12-17 at 16 34 41

    After:
    image

    What do you think?

  9. added a commit that references this issue on Dec 17, 2024
  10. BeckerWdf commented on Dec 17, 2024

    @BeckerWdf
    Member

    and maybe also org.eclipse.ui\icons\full\elcl16\pin_view.svg because it looks like a half version of the original icon. I don't know if this is wanted.

    I could not find a usage of this. Has anybody seen this icon pin_view@2x somewhere in the UI?

    It's defined at

    This is in an internal package that is visible to these bundles:
    org.eclipse.ui.internal;ui.workbench=split;mandatory:="ui.workbench";
    x-friends:="org.eclipse.ui,
    org.eclipse.ui.intro,
    org.eclipse.ui.ide,
    org.eclipse.ui.ide.application,
    org.eclipse.ui.views,
    org.eclipse.ui.navigator.resources,
    org.eclipse.ui.tests.browser,
    org.eclipse.debug.ui"

    None of these uses the icon. Should we delete it?

  11. vogella commented on Dec 17, 2024

    @vogella
    ContributorAuthor

    Should we delete it?

    Yes.

  12. added a commit that references this issue on Dec 18, 2024
  13. 6 remaining items

  14. Michael5601 commented on Dec 18, 2024

    @Michael5601

    Should we delete it?

    Yes.

    Done in ef7fbea

    The Search and History views do have a pin icon in their view toolbars. Don't know if it's that one, though.

    It's not the one for the search for sure. I don't know about the history.

  15. BeckerWdf commented on Dec 18, 2024

    @BeckerWdf
    Member

    The history view has it's on version. That is slightly different:

    If I change this to the new improved version this looks like this:
    New is on top / old is below:

    Screenshot 2024-12-18 at 12 56 27

    What do you think?

  16. vogella commented on Dec 18, 2024

    @vogella
    ContributorAuthor

    New looks better

  17. BeckerWdf commented on Dec 18, 2024

    @BeckerWdf
    Member

    Pls. close when you think this is fixed.

  18. self-assigned this
    on Dec 18, 2024
  19. added this to the 4.35 M1 milestone on Dec 18, 2024
  20. vogella commented on Dec 18, 2024

    @vogella
    ContributorAuthor

    Pls. close when you think this is fixed.

    I suggest to wait for the your last PRs to be merged, if that is fine for you.

  21. BeckerWdf commented on Dec 18, 2024

    @BeckerWdf
    Member

    I suggest to wait for the your last PRs to be merged, if that is fine for you.

    I only see one open PR: eclipse-jdt/eclipse.jdt.ui#1862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions