U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TabCtrl » Coloring tab
Coloring tab [message #47269] Mon, 02 January 2017 13:36
wqcmaster is currently offline  wqcmaster
Messages: 37
Registered: March 2013
Member
On some presentations (OS layout themes), the selected tabs can not be distinguished well.

Would not it be good if the tab were also dyed?
Or this behavior should be additionally switched on / off?

index.php?t=getfile&id=5141&private=0

in
void TabBar::PaintTab(Draw &w, const Size &sz, int n, bool enable, bool dragsample)


instead of
	if(!IsNull(t.col))
	{
		img = Colorize(img, t.col);
	}

	if(!IsNull(t.col) && ac )                  // change dagobert -> if(!IsNull(t.col)) 19_03_2016
	{
		img = Colorize(img, t.col);
		img = ColorMask(img, t.col);       // add dagobert 19_03_2016
	}




and here our patchfiles -> current release 2015.2 (rev 9251):
Previous Topic: How can I change the TabCtrl font size and weight?
Next Topic: How to use TabBar CancelClose/WhenClose?
Goto Forum:
  


Current Time: Sat Apr 25 21:18:56 GMT+2 2026

Total time taken to generate the page: 0.00484 seconds