Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Autocomplete droplist needed...
Re: Autocomplete droplist needed... [message #16815 is a reply to message #16772] Sun, 13 July 2008 00:13 Go to previous messageGo to previous message
cas_ is currently offline  cas_
Messages: 20
Registered: July 2008
Location: Poland
Promising Member
unodgs wrote on Thu, 10 July 2008 18:13

(part of MultiButton.cpp):
if(frm) {
	if(IsTrivial() && style->usetrivial)
		dopaint = false;
	ChPaint(w, x, border, cx, sz.cy - 2 * border,
	        dopaint ? v : style->trivial[st]);
}




This has something to do with Chameleon styles. If you add
v = style->lmiddle[st];

at line 319 of MultiButton.cpp (so you force Multibutton to use "lmiddle" instead of "left", whatever that means Wink), the arrow disappears.

UPDATE:

Bug is caused by the MultiButton::StyleFrame() properties, that are set up ChGtk.cpp, lines 1070 - 1080. Somehow, left[i] references an image with an arrow pointing down (I can't find exact place of such assignment though). Unfortunately, I know nothing about Chameleon and I have no idea how to fix it.

[Updated on: Sun, 13 July 2008 23:24]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't Get DropGrid Working
Next Topic: FileList problems with extensions and pop-ups
Goto Forum:
  


Current Time: Sun May 12 19:25:00 CEST 2024

Total time taken to generate the page: 0.02552 seconds