Discussion:
[WiX-users] Problems with custom bitmaps with wixUI
Anthony Wieser
2007-03-20 21:06:49 UTC
Permalink
I've been tearing my hair out trying to figure out why my bitmaps for my
dialog are getting a set of grid lines drawn across them.

I've finally got my install working with the latest build 3.0.2716.0 after
changing things to match the new methods, but still have the same problem
with the bitmaps.

I've added this as a bug (1684217), but on reading it looks like I should
have brought it up here first, so sorry if I got the protocol wrong. I'm
new to this open source stuff.

Any ideas how I can avoid this? I'm including the files thus:
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="bitmaps\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="bitmaps\dialog.bmp" />

Anthony Wieser
Wieser Software ltd
Rob Mensching
2007-03-20 22:29:25 UTC
Permalink
I think this happens when your bitmaps are being squished a little bit.

-----Original Message-----
From: wix-users-***@lists.sourceforge.net [mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Anthony Wieser
Sent: Tuesday, March 20, 2007 2:07 PM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Problems with custom bitmaps with wixUI

I've been tearing my hair out trying to figure out why my bitmaps for my
dialog are getting a set of grid lines drawn across them.

I've finally got my install working with the latest build 3.0.2716.0 after
changing things to match the new methods, but still have the same problem
with the bitmaps.

I've added this as a bug (1684217), but on reading it looks like I should
have brought it up here first, so sorry if I got the protocol wrong. I'm
new to this open source stuff.

Any ideas how I can avoid this? I'm including the files thus:
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="bitmaps\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="bitmaps\dialog.bmp" />

Anthony Wieser
Wieser Software ltd


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Anthony Wieser
2007-03-20 23:01:25 UTC
Permalink
Thanks for that. When I shrunk the bitmap drastically (to 450 pixels wide)
it went away.

I checked with SPY++, and the bitmap is 493 pixels wide (at least on my
Vista system, the way it's set up at the moment).

As the dialogs are specified in dialog units, what is the recommendation for
sizing bitmaps? Build something that can be stretched without much
distortion?

Anthony Wieser
Wieser Software Ltd
Post by Rob Mensching
I think this happens when your bitmaps are being squished a little bit.
-----Original Message-----
Wieser
Sent: Tuesday, March 20, 2007 2:07 PM
Subject: [WiX-users] Problems with custom bitmaps with wixUI
I've been tearing my hair out trying to figure out why my bitmaps for my
dialog are getting a set of grid lines drawn across them.
I've finally got my install working with the latest build 3.0.2716.0 after
changing things to match the new methods, but still have the same problem
with the bitmaps.
I've added this as a bug (1684217), but on reading it looks like I should
have brought it up here first, so sorry if I got the protocol wrong. I'm
new to this open source stuff.
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="bitmaps\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="bitmaps\dialog.bmp" />
Anthony Wieser
Wieser Software ltd
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson
2007-03-21 15:19:28 UTC
Permalink
Post by Anthony Wieser
I checked with SPY++, and the bitmap is 493 pixels wide (at least on my
Vista system, the way it's set up at the moment).
That's normal for XP too and that's what's in WiX.chm.
Post by Anthony Wieser
As the dialogs are specified in dialog units, what is the recommendation for
sizing bitmaps? Build something that can be stretched without much
distortion?
That's about your only choice. Bitmaps don't scale well and
unfortunately, there's no way to "lock" the dialogs.
--
sig://boB
http://bobs.org
Anthony Wieser
2007-03-22 08:07:31 UTC
Permalink
----- Original Message -----
Subject: Re: [WiX-users] Problems with custom bitmaps with wixUI
Post by Bob Arnson
Post by Anthony Wieser
I checked with SPY++, and the bitmap is 493 pixels wide (at least on my
Vista system, the way it's set up at the moment).
That's normal for XP too and that's what's in WiX.chm.
Post by Anthony Wieser
As the dialogs are specified in dialog units, what is the recommendation for
sizing bitmaps? Build something that can be stretched without much
distortion?
That's about your only choice. Bitmaps don't scale well and
unfortunately, there's no way to "lock" the dialogs.
I guess that's the problem. I started out with the tutorial pointed to by wix.sourceforge.net
http://www.tramontana.co.hu/wix/lesson2.php

and the values on that page are different.

Anthony Wieser
WIeser Software Ltd

Bob Arnson
2007-03-21 02:52:11 UTC
Permalink
Post by Anthony Wieser
I've been tearing my hair out trying to figure out why my bitmaps for my
dialog are getting a set of grid lines drawn across them.
As Rob mentioned, it's an artifact of resizing. WiX.chm has a topic that
lists the sizes of the bitmaps for default Windows XP themes but note
that users are free to choose different font sizes that change the size
of the dialogs and therefore the bitmaps.
--
sig://boB
http://bobs.org
Loading...