Page 1 of 1

CTB Label icon is adjusted only after restart

Posted: 26 Sep 2018 09:28
by LittleBiG
I added a CTB with label icon "RUN". It looked like in the first picture. Only restart helped, making XY to redraw the toolbar didn't.

Re: CTB Label icon is adjusted only after restart

Posted: 28 Sep 2018 09:54
by admin
Not here. Any special display settings?

Re: CTB Label icon is adjusted only after restart

Posted: 28 Sep 2018 12:13
by LittleBiG
I don't think so. Two different computer, with different monitors . Tried with fresh instances on both.
Here is one of the display settings:

Code: Select all

Screen: 1920x1080, 1/2 (Primary), Virtual: (-1280, 0) - (3200, 1080), Work: (0, 0) - (1920, 1030)
Screen DPI: 120 (125%), twx: 12, stretch: 1
Screen Color Depth: 32
DPI awareness: Per monitor
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=20, Large=40
Icon Size Recommended: Small=20, Large=40

Re: CTB Label icon is adjusted only after restart

Posted: 28 Sep 2018 12:35
by admin
125%, was that the factory default of your Windows?

Re: CTB Label icon is adjusted only after restart

Posted: 28 Sep 2018 12:45
by jupe
I don't know if this is helpful but some info: I tested this because I also run 125% DPI and in my normal instance there was no problem, but in fresh it was there. In my normal instance I use ToolbarZoom=1.1 though, so I think that explains that. Also toggling Touchscreen mode with Toolbar Zoom enabled works to correct it rather than a restart also.

edit: Just noticed if I start a fresh instance and add the button via the address bar and snippet; it is ok, but if I add it manually it does it wrong :veryconfused:, or if I add the button manually and then Paste the snippet into the button dialog it does it wrong too.

edit2: In a fresh instance If I add via AB snippet; the button is ok, then if I subsequently add any another button to the toolbar manually it makes both buttons wrong like the first screenshot.

Re: CTB Label icon is adjusted only after restart

Posted: 28 Sep 2018 20:13
by LittleBiG
admin wrote:125%, was that the factory default of your Windows?
I do not remember... But the same happens with this setting on my other computer:

Code: Select all

Screen: 1280x1024, 1/1 (Primary), Virtual: (0, 0) - (1280, 1024), Work: (0, 0) - (1280, 984)
Screen DPI: 96 (100%), twx: 15, stretch: 1
Screen Color Depth: 32
DPI awareness: Per monitor
UseDPIAwareIconSizes: No, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=16, Large=32
Icon Size Recommended: Small=16, Large=32
Thanks, jupe, for trying it out. I also experienced what you wrote in edit2. A new button makes all others wrong.

Re: CTB Label icon is adjusted only after restart

Posted: 03 Oct 2018 12:45
by admin
OK, should be fixed in next version.