TAB Description hidden in VLF-ONE

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Balaji
Posts: 20
Joined: Tue Sep 19, 2017 6:05 pm

TAB Description hidden in VLF-ONE

Post by Balaji »

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
Attachments
TAB Description hidden.PNG
TAB Description hidden.PNG (3.81 KiB) Viewed 7573 times
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: TAB Description hidden in VLF-ONE

Post by atostaine »

Pad with spaces? If they are ignored. You could probably add an invisible character with asunicode intrinsic
Art Tostaine
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: TAB Description hidden in VLF-ONE

Post by MarkD »

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?
Balaji
Posts: 20
Joined: Tue Sep 19, 2017 6:05 pm

Re: TAB Description hidden in VLF-ONE

Post by Balaji »

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
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: TAB Description hidden in VLF-ONE

Post by MarkD »

Please try this - which I have not tested.

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_Com
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.
Post Reply