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++ Core » [BUG] Ctrl::AlignRight
Re: [BUG] Ctrl::AlignRight [message #14612 is a reply to message #14610] Tue, 04 March 2008 15:39 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Cool. This seems to be a recurring problem (I think I've seen it mentioned before anyway), and is linked to this line in ide/LayDes/item.cpp:
	Vector<int> o = GetSortOrder(property, FieldRelation(&ItemProperty::level, StdLess<int>()));

Presumably the intent here is to leave all properties that haven't had a specific order set (have level = 0) in the same relative place in the list. Is it possible that the algorithm used for sorting here is moving them?

That would explain the problem, but it might be easier/more sensible just to add fixed orders to all the properties anyway.

[Updated on: Tue, 04 March 2008 15:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Date Scan Problem
Next Topic: ChatClient with Ultimate++
Goto Forum:
  


Current Time: Mon Jul 07 01:37:45 CEST 2025

Total time taken to generate the page: 0.03662 seconds