I have an application with a number of buttons. The layout of the buttons is set in the code to be:
so far so good (see attached picture 1). However, while using the application, buttoms start to loose the right edge without any reason (see picture 2). After a while, all buttons lost the right edge (see picture 3)...
Is this a bug? Any suggestion what i can do to avoid this?
B4X:
Private cdBtnBackground As ColorDrawable
Private intColorBack As Int
Private intColorBorder As Int
Private intColorText As Int
Private intBtnTextSize As Int
intColorBack = Colors.RGB(255,255,255)
intColorBorder = Colors.RGB(25,25,112)
intColorText = Colors.RGB(25,25,112)
intBtnTextSize = 14
cdBtnBackground.Initialize2(intColorBack, 5, 1, intColorBorder)
btnBest.Background = cdBtnBackground
btnBest.TextColor = intColorText
btnBest.TextSize = intBtnTextSize
so far so good (see attached picture 1). However, while using the application, buttoms start to loose the right edge without any reason (see picture 2). After a while, all buttons lost the right edge (see picture 3)...
Is this a bug? Any suggestion what i can do to avoid this?
Attachments
Last edited: