Android Question B4X Dialog change height used by buttons?

wimpie3

Well-Known Member
Licensed User
Longtime User
1650989040725.png


In this screenshot the height of the titlebar (green line) can be easily changed with dialog.TitleBarHeight.
However, there is no such thing as dialog.ButtonBarHeight (red line).
How can I give more room to the buttons? I can position them higher with
B4X:
    Dim b As B4XView=dialog.GetButton(xui.DialogResponse_Positive)
    b.Top=b.top-14dip
but they shift up behind the parent panel of the button row.
 

wimpie3

Well-Known Member
Licensed User
Longtime User
Nope, that changes the height of the buttons, not the height of the area containing the buttons.
 
Upvote 0

wimpie3

Well-Known Member
Licensed User
Longtime User
That's how I do it already now, wanted to make sure there was no better option. Thanks.
 
Upvote 0
Top