I’ve been trying to remove the background color of the objects, which are undesirable to me, and which I believe will solve problems like this, where buttons turn white, and remain that way, even after the mouse is moved away.
So far, I managed to remove part of the background from the menu items, but I can’t figure out why I can’t get rid of this border line.
It was like this before.
I set the color to none, but border color does not remove it, so I figure it’s not the border.
I just adjusted the marginTop value in the MenuBar.hx file. That way, I didn’t have to use padding.
It’s not the best looking with the menu items surrounded by a white border, but, I’ll live with that for now.
So menus (like all composite components) are built out of other components, that “annoying line” is the menu filler. It basically acts as the “top border”, for simple themes (like default, its literally a line), for other themes it can be more complex. Egs: http://haxeui.org/builder/?bad6f2ac
I just don’t know what’s available to me, and what’s not.
I think knowing that would help a lot.
I did not even know .menu .menu-filler existed.
So right now i am feeling my way through.
I guess it’s not easy putting together a documentation that thoroughly covers everything, if you don’t have a large team like Amazon Lumberyard, and Unreal, so I understand.
I was a bit more satisfied with what I got through.
Although, getting rid of the thin white border would make things look better to me.
I’m working on that, but haven’t been able to get rid of it yet.
How would you remove the white border around the items?
…and thanks for responding. I thought everyone had gone on vacation.
I also removed alot of the properties (colours etc) from the actual components, and just used css. Finally, i remove some of the weird height="5.5%" type things. Not sure what you were trying to do there - i just assumed experimenting
I do appreciate your efforts Ian. I do, thanks. However, you didn’t hit the target, I’m afraid.
I don’t want the border. I want to get rid of any border or lines around the menu items.
I removed them in your code, but that top border doesn’t go anywhere.
I want to achieve a look like this.
Looking closely at that image, I just thought of something. The border is actually colored. Only not too far from the menu item’s background.
In your case, you probably do still want the filler to be there since you do want the border colour, even if its faint. But anyway, it was a bug, and its working now. (you’ll need git haxeui-core to get the fix)
Thanks a lot. It’s working as I wanted.
One more thing. How do I change the color of the scrollbar on the listview so that it coincides with the other colors?