mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 02:12:12 -05:00
Category legend improvements
* Show text after value in category legend * Use integer slider for category results * Do not allow min larger than max and max lower than min
This commit is contained in:
1 parent
b83fe73395
commit
ee724633b5
3 files changed
+90
-15
No files matched your search
@@ -682,7 +682,7 @@ void RimEclipseResultDefinitionTools::updateCellResultLegend( const RimEclipseRe
|
||||
[value]( const RimColorLegendItem* const item ) { return item->categoryValue() == value; } );
|
||||
if ( it != items.end() && !( *it )->categoryName().isEmpty() )
|
||||
{
|
||||
valueTxt = QString( "%1 (%2)" ).arg( ( *it )->categoryName() ).arg( value );
|
||||
valueTxt = QString( "%1 %2" ).arg( value ).arg( ( *it )->categoryName() );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user