|
|
|
#1
|
||||
|
||||
|
Quote:
Code:
TTextAlign = (txCenter, txLeading, txTrailing);
procedure Text1HorzAlign(HAlign: TTextAlign);
procedure Text2HorzAlign(HAlign: TTextAlign);
|
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
Fak Eid (04-06-2024) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Thank you. I tried and have to manually align the text for this. However, in Smaller Font Size (like 12-15), the two text still doesn't seem to be aligned height-wise. Any fix for it? Code:
SectionText[1].FCreate(SectionContent[1].Handle, 500, 15, 'Developers :', INI_DEVELOPERS, -1, False);
SectionText[1].Text1Setting('{#FontName}', 12, {#FontColor}, False);
SectionText[1].Text2Setting('{#FontName}', 12, {#SelectedFontColor}, False);
SectionText[1].Text1HorzAlign(txTrailing);
SectionText[1].Text2HorzAlign(txTrailing);
SectionText[2].FCreate(SectionContent[1].Handle, 505, 35, 'Genre :', INI_GENRE, -1, False);
SectionText[2].Text1Setting('{#FontName}', 12, {#FontColor}, False);
SectionText[2].Text2Setting('{#FontName}', 12, {#SelectedFontColor}, False);
SectionText[2].Text1HorzAlign(txTrailing);
SectionText[2].Text2HorzAlign(txTrailing);
SectionText[3].FCreate(SectionContent[1].Handle, 500, 55, 'Release Date :', INI_RELEASE_DATE, -1, False);
SectionText[3].Text1Setting('{#FontName}', 12, {#FontColor}, False);
SectionText[3].Text2Setting('{#FontName}', 12, {#SelectedFontColor}, False);
SectionText[3].Text1HorzAlign(txTrailing);
SectionText[3].Text2HorzAlign(txTrailing);
Last edited by Fak Eid; 05-06-2024 at 00:28. |
|
#3
|
|||
|
|||
|
Quote:
Code:
function InitializeSetup: Boolean;
begin
AddFontResource2(ExtractAndLoad('{#MyFont1}'));
FMXInnoInit;
Result:= True;
end;
procedure DeinitializeSetup();
begin
RemoveFontResource2(ExpandConstant('{tmp}\{#MyFont1}'));
ISArcExCleanUp;
FMXInnoShutDown;
end;
|
| The Following User Says Thank You to Tihiy_Don For This Useful Post: | ||
BLACKFIRE69 (06-06-2024) | ||
|
#4
|
|||
|
|||
|
Quote:
Yes, i believe or whatever fixes this issue on smaller fonts. One of my FMX Installer is completely dependent on the use of it and I've to wait longer just to get this fixed. Although, it is working for larger font size like 16+. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |