CustomIcon not working

Issue #92 new
Md. Shariful Alam Khan created an issue

I am trying to follow the CustomIcom sample but it doesn't working with version .99e. Also getting some error on Menu item see the images. customicon.png Ubuntu 16.04 Desktop-2017-05-10-13-23-41.png Ubuntu 16.04 Desktop-2017-05-10-13-23-54.png

Comments (7)

  1. Eugene Kryukov repo owner

    To set a custom icon for project you don't need to deploy this file, you need to add it to project as file and then in Project\Resources and Images... dialog set name for this resources as 'MAINICON'. You can disable this file to deploy (Delphi automatically add it).

  2. Md. Shariful Alam Khan reporter

    After adding Project\Resources and Images I got following error: Gtk-CRITICAL **: gtk_window_resize: assetion 'width > 0' failed

  3. Md. Shariful Alam Khan reporter

    It's fixed on creating new project. But what does that error means for width and menu items?

  4. Harry Stahl

    When I add an ressource to an existing project, where allready icons was set, it does not work.

    In new projects or former (e.g. simple test-) projects, where icons was not set, I can add it.

    I assume some old settings in project-file will interfere.

  5. Log in to comment