B4A Library SD: Menu (with Animation)

Guenter Becker

Active Member
Licensed User
Hi,
set the colors from the Design. download latest version. Use XUI colors.

1st my lib version is 0.06
2nd setting Property Menu Back color in the designer to color white - > color remains gray
3rd setting MenueTree1.GetBase.Color=xui.colors.white -> color remains gray
4th setting MenueTree1.GetBase.Background=white (white = drawable with white color) -> color remains gray
 

Star-Dust

Expert
Licensed User
Longtime User
Thanks for your numbered comments.
I have confused this library with the newer cross-platform. (SD_TreeList)
I'll answer your comments.

1st Changing the properties to MenuTree1.GetBase will have no effect because there are other views that cover the base, the ones that make up the tree.
2nd It is not foreseen, therefore it is not possible, to change the bottom of the views that form the tree.
3rd This library is unlikely to be updated which is now over three years old and an XUI version exists. multi-platform.
4th You can change the background color only with the Background property of the design. But I don't think this is what you are looking for. (In this example I have changed the background to red)



5th I hope I have answered your questions

6th Best regards
 
Last edited:

Guenter Becker

Active Member
Licensed User


You are right but as you see in yout image the menu is still gray and that is what I want to change. I know your fine SD_Treelist and I remember we had discussions about this. Before using this I used SD_Treelist but I throw it away after I saw that the line height of the items is fixed and if you use a textsize bigger 14 the letters bottom is truncen.

Stay well.
 

Star-Dust

Expert
Licensed User
Longtime User
Now I remember... Unfortunately, even in this class it is not possible to change the height of the leaves.

Last time I said that my answer sounds bad and this time you made a numbered list of observations. Maybe a friendlier way gets better results.

I have updated the library to version 0.07 with the changes you need.
 

Star-Dust

Expert
Licensed User
Longtime User
Update 0.07
MenuTree - Ability to change color of the text and background of the leaves​
 

Guenter Becker

Active Member
Licensed User

Please do not worry to be unfriendly was not my intention! I used a numbered list to make myself clear to the reader and not to be unfriendly. Sorry.
Stay well and please where to get Version 0.7?
Greetings Guenter
 

Star-Dust

Expert
Licensed User
Longtime User
Please do not worry to be unfriendly was not my intention! I used a numbered list to make myself clear to the reader and not to be unfriendly. Sorry.
Stay well and please where to get Version 0.7?
Greetings Guenter
Post #1
 

Star-Dust

Expert
Licensed User
Longtime User
for the rollout menu, how I can set the menu position?
You can only select whether it will appear on the right or left of the screen. There are no other positions. This is due to the particular type of animation on the menu
 

syerif

Active Member
Licensed User
Longtime User
You can only select whether it will appear on the right or left of the screen. There are no other positions. This is due to the particular type of animation on the menu
how about the set top position?
 

Star-Dust

Expert
Licensed User
Longtime User
how about the set top position?
I'm not sure I understand what you mean. The first button starts from the Left, top (0,0) position, the following ones follow downwards
 

syerif

Active Member
Licensed User
Longtime User
I'm not sure I understand what you mean. The first button starts from the Left, top (0,0) position, the following ones follow downwards
I mean, for menu appear on left or right only ok, but it is possible to set roll-out menu top position just like a view ex. button.top, and how to set roll-out menu for specific panel
 

Star-Dust

Expert
Licensed User
Longtime User
I mean, for menu appear on left or right only ok, but it is possible to set roll-out menu top position just like a view ex. button.top, and how to set roll-out menu for specific panel
I'm sorry but it's not possible. The menu starts with the first button with the top position = 0.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…