Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st October 2020, 05:04   #1
libra7th
Junior Member
 
Join Date: Oct 2020
Posts: 11
Unhappy UMUI: Korean text line wrapping problem in multi-language with Ultra-modern UI

Hi

I've been asking about the same topic before.
But I ask again because I asked in the wrong direction.

The situation is like this.
I use Ultra-Modern UI, but I used it !insertmacro MUI_LANGDLL_DISPLAY as the language selection window.
However, only MUI_UNPAGE_CONFIRM has the problem that some of the Korean strings are hidden.
like the picture below


So I used MUI_UNCONFIRMPAGE_TEXT_TOP to put a newline character before the string. But I couldn't find the root cause of the problem.

How can I find the root cause of the problem?

Thanks for your help
Philsu
libra7th is offline   Reply With Quote
Old 21st October 2020, 05:06   #2
libra7th
Junior Member
 
Join Date: Oct 2020
Posts: 11
sry, the picture is here.
https://imgur.com/a/g3BkZYj
libra7th is offline   Reply With Quote
Old 21st October 2020, 10:02   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,355
It is possible the the umui dialog resource has the wrong window style for that label control causing it to not wrap long lines.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd October 2020, 05:42   #4
libra7th
Junior Member
 
Join Date: Oct 2020
Posts: 11
Thanks to that, I found that the problem only occurs when using UMUI.
libra7th is offline   Reply With Quote
Old 22nd October 2020, 18:07   #5
Nutzzz
Member
 
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
FYI, you can use Resource Hacker to remove the SS_LEFTNOWORDWRAP style from the dialogs of the appropriate .exe in your NSIS folder under Contrib\UIs\UltraModernUI
Nutzzz is offline   Reply With Quote
Old 23rd October 2020, 02:17   #6
libra7th
Junior Member
 
Join Date: Oct 2020
Posts: 11
Thanks to you, I learned that there are good tools.

But I need a way to fix it in code, not in Contrib.
So, can't change the properties using UMUI or basic commands?
libra7th is offline   Reply With Quote
Old 23rd October 2020, 02:31   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,355
Maybe something like

Quote:
!include UMUI.nsh
ChangeUI IDD_UNINST "mycustomumui.exe" ; Fixed UI file

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 23rd October 2020, 07:36   #8
libra7th
Junior Member
 
Join Date: Oct 2020
Posts: 11
Now understand.
It doesn't have to overwrite it under Contrib.

I'll try this way.
It really helped a lot.
Thank you.
libra7th is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
korean, multi-language, ultra-modern ui, umui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump