i see
ASTabMenu_horizontal.BorderPadding = 2dip
If g_TabStripMode = False Then
Dim tmp_top As Float = xlbl_text.Top + xlbl_text.Height
If g_TabStyle = "Text" Or g_TabStyle = "TextIcon" Then 'only Text or text and icons
Dim textwidth As Int = Max(1dip,MeasureTextWidth(xlbl_text.Text,xlbl_text.Font))
If g_CurrentTabUnderlineGravity <> getCurrentTabUnderlineGravity_BOTTOMRIGHT Then
If g_TabStyle = "TextIcon" Then
tmp_top = xpnl_targettab.Height/2 - icon_height/2
Else
tmp_top = xpnl_targettab.Height/2 - xlbl_text.Height/2
End If
End If
---> xpnl_underline.SetLayoutAnimated(g_CurrentTabUnderlineAnimationDuration,xpnl_targettab.Left + xpnl_targettab.Width/2 - textwidth/2,tmp_top,textwidth,ul_height)
Else If g_TabStyle = "Icon" Then 'only Icon
If g_CurrentTabUnderlineGravity = getCurrentTabUnderlineGravity_BOTTOMRIGHT Then
tmp_top = xpnl_tabbase.Height/2 + 15dip
Else
tmp_top = xpnl_tabbase.Height/2 - icon_height/2.5
End If
xpnl_underline.SetLayoutAnimated(g_CurrentTabUnderlineAnimationDuration,xpnl_targettab.Left + xpnl_targettab.Width/2 - underlinewidthbyonlyicon/2,tmp_top,underlinewidthbyonlyicon,ul_height)
End If
what is not working????This lib doesn't work with B4A rel. #11 Beta.
Right Premium Deluxe would be to pack the project from the gif still in the attachment, then I save at least time until I am on this stand ^^
ASTabMenu1.BeginUpdate
ASTabMenu1.RemoveAllTabs
ASTabMenu1.AddTab(Colors.RGB(18, 21, 61),"Item 1",ASTabMenu1.FontToBitmap(Chr(0xE56A),True,40,xui.Color_White),"")
ASTabMenu1.AddTab(Colors.RGB(18, 21, 61),"Item 2",ASTabMenu1.FontToBitmap(Chr(0xE3B0),True,40,xui.Color_White),"")
ASTabMenu1.AddTab(Colors.RGB(18, 21, 61),"Item 3",ASTabMenu1.FontToBitmap(Chr(0xE5C9),True,40,xui.Color_White),"")
ASTabMenu1.EndUpdate
I work full time with vb.net and use the devexpress framework, there it works with "BeginUpdate" and "EndUpdate" when you change things, so I added that too.I'm a noob so my "fix" is simple, but would prefer an actual fix from the creator