Hi,
Tab descriptions gets hidden when is the character less than 6 and grater than 3 in VLF-ONE.
Please refer to the attached screen shot,can you let us know how to proceed.
Thanks for your help in advance.
Regards
Balaji
TAB Description hidden in VLF-ONE
TAB Description hidden in VLF-ONE
- Attachments
-
- TAB Description hidden.PNG (3.81 KiB) Viewed 7567 times
Re: TAB Description hidden in VLF-ONE
Pad with spaces? If they are ignored. You could probably add an invisible character with asunicode intrinsic
Art Tostaine
Re: TAB Description hidden in VLF-ONE
The widths that are used are soft and defined as part of the theme you are using, so they can be overridden or refined.
I think from other posts I have seen that you are using a single overridden theme?
i.e. You have a VF_AC033O extended theme customiser you run at start up time to set up your custom theme.
Could you post the code you use to do that?
I think from other posts I have seen that you are using a single overridden theme?
i.e. You have a VF_AC033O extended theme customiser you run at start up time to set up your custom theme.
Could you post the code you use to do that?
Re: TAB Description hidden in VLF-ONE
Yes I have created new theme.
kindly see the below code for the new theme.
Begin_Com Role(*EXTENDS #VF_AC033O)
Mthroutine Name(Customize) Options(*REDEFINE)
Define_Com Class(#VF_SY170O) Name(#NewTheme) Reference(*DYNAMIC)
#Themes.RemoveAll
#STD_TEXTS := "blue"
#NewTheme <= *New #VF_SY170O
#Themes.Insert Item(#NewTheme)
Set Com(#NewTheme) Symbolicname(THEME) Description('Default') Vlwebapplicationtheme(2015Blue)
#NewTheme.PopUpMenu_ItemWidth := 300
#NewTheme.BaseTitleStyle.NormBackColor := #STD_TEXTS
#NewTheme.FloatingPanel_AtFrontTitleStyle.NormBackColor := #STD_TEXTS
#NewTheme.FloatingPanel_AtFrontBorderBrush.Color := #STD_TEXTS
#NewTheme.NavigationMenu_ItemHeight := 110
#NewTheme.NavigationMenu_ItemWidth := 125
#NewTheme.NavigationMenu_MinimumWidth := 800
#NewTheme.NavigationMenu_ItemsPerLine := 6
Endroutine
End_Com
kindly see the below code for the new theme.
Begin_Com Role(*EXTENDS #VF_AC033O)
Mthroutine Name(Customize) Options(*REDEFINE)
Define_Com Class(#VF_SY170O) Name(#NewTheme) Reference(*DYNAMIC)
#Themes.RemoveAll
#STD_TEXTS := "blue"
#NewTheme <= *New #VF_SY170O
#Themes.Insert Item(#NewTheme)
Set Com(#NewTheme) Symbolicname(THEME) Description('Default') Vlwebapplicationtheme(2015Blue)
#NewTheme.PopUpMenu_ItemWidth := 300
#NewTheme.BaseTitleStyle.NormBackColor := #STD_TEXTS
#NewTheme.FloatingPanel_AtFrontTitleStyle.NormBackColor := #STD_TEXTS
#NewTheme.FloatingPanel_AtFrontBorderBrush.Color := #STD_TEXTS
#NewTheme.NavigationMenu_ItemHeight := 110
#NewTheme.NavigationMenu_ItemWidth := 125
#NewTheme.NavigationMenu_MinimumWidth := 800
#NewTheme.NavigationMenu_ItemsPerLine := 6
Endroutine
End_Com
Re: TAB Description hidden in VLF-ONE
Please try this - which I have not tested.
Create a reusable part that extends VF_SY170O
That should increase the pixel with for things <= 5 characters to be 54.
In your style set up code posted code change
Define_Com Class(XXXXXXXX) Name(#NewTheme) Reference(*DYNAMIC)
And
#NewTheme <= *New XXXXXXXX
to refer to your new reusable part instead
And then just before the endroutine:
Invoke #NewTheme.ApplyDeepOverride
Alternatively, wait for the imminent release of the VLF version EPC142005 where we have changed this initial setting to use 44px for 3 chars or less and 54 for 5 chars - whicn also means you need to change this reusable part again to match.
Create a reusable part that extends VF_SY170O
Code: Select all
Begin_Com Role(*EXTENDS #VF_SY170O)
Mthroutine Name(ApplyDeepOverides)
#PIXELWIDTHS<1>.Value := 54
Endroutine
End_ComIn your style set up code posted code change
Define_Com Class(XXXXXXXX) Name(#NewTheme) Reference(*DYNAMIC)
And
#NewTheme <= *New XXXXXXXX
to refer to your new reusable part instead
And then just before the endroutine:
Invoke #NewTheme.ApplyDeepOverride
Alternatively, wait for the imminent release of the VLF version EPC142005 where we have changed this initial setting to use 44px for 3 chars or less and 54 for 5 chars - whicn also means you need to change this reusable part again to match.