PatrikCavina Active Member Licensed User Longtime User Nov 3, 2017 #1 Hi to everyone, I'm trying to create a layout for items in listview. Items are composed by two label side by side and one button in the end of pane. Labels should increase their width (Both anchor) maintaining constant distance one from the other and from the button. How can i resolve this problem using "Script-Variant"?
Hi to everyone, I'm trying to create a layout for items in listview. Items are composed by two label side by side and one button in the end of pane. Labels should increase their width (Both anchor) maintaining constant distance one from the other and from the button. How can i resolve this problem using "Script-Variant"?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2017 #2 Your layout is incorrect. See this post: https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#post-405799 Upvote 0
Your layout is incorrect. See this post: https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#post-405799
PatrikCavina Active Member Licensed User Longtime User Nov 6, 2017 #3 I think to understand. So this is a possible solution: Upvote 0
klaus Expert Licensed User Longtime User Nov 6, 2017 #4 No, You should set the horizontal anchors to RIGHT for the two right objects. Upvote 0
PatrikCavina Active Member Licensed User Longtime User Nov 6, 2017 #5 @klaus If you mean the two right buttons, the anchorage is already set to the right. (Image isn't clear) Upvote 0
@klaus If you mean the two right buttons, the anchorage is already set to the right. (Image isn't clear)
klaus Expert Licensed User Longtime User Nov 6, 2017 #6 Sorry, I didn't look carefully at the image, with a closer look thay are there. Upvote 0