Menu

#2184 canvas windows with not proportional decorations

2019.2
Fixed
nobody
Canvas (26)
Low
2024-07-02
2020-01-19
No

I've noticed that somehow canvas window decorations on some machines look not proportional. There is Red Griffin ATC addon which on screenshots shows that the close button is much bigger than it should (the same on my machine). In the same thread other person screenshot shows, that close button is right size.

2 Attachments

Discussion

  • Slawek Mikula

    Slawek Mikula - 2020-01-19

    It's very low priority. If I have some time, i'll look into it. Maybe it is trivial on the other side.

     
  • Slawek Mikula

    Slawek Mikula - 2020-01-19

    Simplest nasal code to reproduce is:

    dlgWindow = canvas.Window.new([400, 200], "dialog").setTitle("test");
    dlgWindow.show();
    dlgWindow.clearFocus();
    

    Fix for this in the attachment nonetheless it breaks API for WindowButton (right now it is only used in gui.nas file (fgdata grep)). But I think if this image (origin 19x19px) is resized without this code change maybe something wrong is in the canvas drawing code.

     
  • James Turner

    James Turner - 2020-02-24

    @slawekmikula Did this fix get merged?

     
  • Slawek Mikula

    Slawek Mikula - 2020-02-24

    @jmturner AFAIK no. It hasn't been merged. This fix should do it with the mentioned "close" button.

    But looking at the code i was wandering if there is something wrong with primitive canvas drawing (the "code" which renders this icon) and it could appear somewhere else. If noone was reporting something similar in eg. FG-1000 then maybe this is only here.

     
  • Gijs

    Gijs - 2024-01-25

    @slawekmikula can you still reproduce this issue with current FG? It seems to work fine for me, without your fix...

     
  • Gijs

    Gijs - 2024-01-25
    • status: New --> NeedInfo
     
  • Gijs

    Gijs - 2024-07-02
    • status: NeedInfo --> Fixed
     
  • Gijs

    Gijs - 2024-07-02

    Assuming this has been fixed in the past 4 years. Please re-open if the issue still exists with a current version of FG.

     

Log in to post a comment.

MongoDB Logo MongoDB