Thanks Bob.

What I've done finally is to customize the dialogs with subtitles and add
the style before the localization variable, so it would override the style
coming from the localization file. Example:

<UI>
            <TextStyle Id="DlgSubTitleFont" FaceName="Tahoma" Size="8"
Bold="no" Red="255" Green="255" Blue="255" />
            <Dialog Id="EULACustomDlg" Width="370" Height="270"
Title="!(loc.LicenseAgreementDlg_Title)">
            <Control Id="Description" Type="Text" X="25" Y="23" Width="340"
Height="15" Transparent="yes" NoPrefix="yes"
Text="{\DlgSubTitleFont}!(loc.LicenseAgreementDlgDescription)" />
.
.
.
</UI>

This is ugly, but worked. The other solution was to modify all the
localization files, which was uglier.

Thing is that conceptually I believe no style should be placed in the
localization files. This are for translations. For style I would modify only
dialogs. And even better: if the styles were separated for title,
description, and content, since I believe this would be more
adaptable/customizable than current approach.

Best regards

2011/4/14 Bob Arnson <b...@joyofsetup.com>

> On 04-Apr-11 15:35, Francisco Gabriel Malbrán wrote:
>
>> I would like to know if there is any way to change the Dialog's subtitle
>> font color independently from the text in the content of a dialog.
>>
>
> You can add your own localization strings to add a text style. Otherwise,
> no; the strings in the subtitle don't have a text style so they get the
> default style.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>


-- 
Francisco Gabriel Malbrán
Licenciado en Ciencias de la Computación
Online CV: www.linkedin.com/in/franciscomalbran
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to