I am pretty sure this is new and also doesn’t always happen. In some cases it works fine and I can’t get to the bottom of what causes it. I thought it was related to whether or not the Button Height is 0 or a fixed size but tried both and doesn’t make a difference. But some setups it works fine, others it doesn’t! Here is another setup on the same computer, and it works fine with <background>.
(but <panel> doesn’t work well if Button Height is 0, it adds lots more padding to the buttons so have to explicitly set the Button Height on the categories). This is <panel> set with Button Height = 0 (you can see the same with <background> in the first GIF above):
This is what I have been doing in the past and works, I gave example above. But it doesn’t look as nice as <background> as has a small border of the original button colour.
What is annoying is <background> works sometimes and doesn’t others, and I can’t work out what is causing this.
I first tried <background> when Emre suggested it as it is better performance wise, uses less processing to render compared to panel. And it looks better.
But like I say, if you see my examples, sometimes it works perfectly, other times it doesn’t and I can’t point a finger to what is causing it, can only guess it is a bug.
Yeah I know about <panel>, I gave example above already. <panel> looks good in your setup, however in mine, if I use <panel> I get a small border of the original button background around the edge, this for some reason does not appear in yours.
For me it would sometimes work perfectly and other times not, I couldn’t work out what was causing it to not work. I’ll test again with 5.2.18 soon and I’ll update you.
This is the same for Breakfast, Starters & Light Bites, Side Orders.
Interestingly, in SambaPOS, for Drinks menu there are 3 other categories with named colours (Whisky = Purple, Alco Pops = DarkBlue, Bar Snacks = Green) but these show as hex colours in SQL:
If I change those using Orange to use #FFF79646 instead, it works perfectly. This is without changing the other named colours too. Only thing I can think that is special about Orange is it’s the default category colour?