- This topic has 5 replies, 3 voices, and was last updated 8 years, 10 months ago by mikerabat.
-
AuthorPosts
-
January 28, 2016 at 8:20 am #36838mikerabatParticipant
Hi!
We are now on the brick to change our software to be High DPI aware which comes with a few implications
(of course 😉 ) like automatic scaling of image lists and nice scaling of grids and such.
One that I was not yet able to solve is how to scale the skins?
That means how e.g. can I scale a radiobutton image that has originally been setup for 96 dpi
but looks VERY small on a 192dpi screen? As far as I can see in the code alpha control
uses the bitmap sizes stored in the skinning file but does not scale it according to
the operating system setting right?
Is there anyone who can help?
kind regards
Mike
January 28, 2016 at 5:10 pm #54666jimswebParticipanthope this could be of some help.
January 29, 2016 at 7:32 am #54672mikerabatParticipant'jimsweb' wrote:hope this could be of some help.
This is exactly what we want to achive – making our
application high dpi aware. This also means that
there is some manual coding to do like scaling
of the image lists and such. (if you look close the
unskinned image in the radiobutton is larger than the
skinned one)
By the way his problems are not gone! The Form.scaled
and the high dpi aware stuff indeed does scale all
the fonts and labels such that their size is the same
on low and high dpi systems but due to the skinning
the size of the caption bar and e.g. the size of the
radio button is not scaled (though it's font is scaled).
So for it looks the issue is more or less the non scaling
of the base bitmaps that are used for scaling. I think the
issue could be solved if I could create a second (and third) skin
based on the original (96dpi) but I don't know how to easily do that.
Or the components scale the bitmap according to the setting.
Note my laptop has 192dpi and is scaled to 200% – the effects
are quite large here (very small caption bar and very small
chekboxes/radio button images)[attachment=7572:checkbox_radio.png]
January 29, 2016 at 7:56 am #54673jimswebParticipantit's sad that alpha controls are not high DPI aware. Hope, one day we might be able to get high DPI aware controls. waiting for support team to respond here.
February 3, 2016 at 3:56 pm #54682SupportKeymasterHello
I'm planning to make support of additional big glyphs in the next Beta version (v11).
I hope, this version will be ready soon and AlphaSkins will have a better look and feel with “big fonts” mode.
February 4, 2016 at 1:40 pm #54688mikerabatParticipant'Support' wrote:Hello
I'm planning to make support of additional big glyphs in the next Beta version (v11).
I hope, this version will be ready soon and AlphaSkins will have a better look and feel with “big fonts” mode.
Thats VERY cool thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.