Allow 'MaximumWidth' and 'MinimumWidth' on all styles for all diagrams

0 votes
asked Jan 2, 2023 in Wanted features by The-Lu (74,900 points)

Hello PlantUML team,

  • Could you allow 'MaximumWidth' and 'MinimumWidth' on all styles for all diagrams?

That seems OK on WBS or Activity:

but not or KO on Class or Deployment... 

See examples on:

And some other examples on Class diag. here:

Only on class, on Class diag.:

@startuml
<style>
class {
  MaximumWidth 100
  Fontcolor red
}
</style>

Class "Long Long Long Long Long Long Long Long Long Long **class**" as C1
Class C2 {
Long Long Long Long Long Long Long Long Long **Method()**
}
note top of C1: Long Long Long Long Long Long Long Long Long Long **note**
note "This is a Long Long Long Long Long Long Long Long Long **floating note**" as N1

C1 --> N1
@enduml

Only on note, on Class diag.:

@startuml
<style>
note {
  MaximumWidth 100
  Fontcolor red
}
</style>

Class "Long Long Long Long Long Long Long Long Long Long **class**" as C1
Class C2 {
Long Long Long Long Long Long Long Long Long **Method()**
}
note top of C1: Long Long Long Long Long Long Long Long Long Long **note**
note "This is a Long Long Long Long Long Long Long Long Long **floating note**" as N1

C1 --> N1
@enduml

Thanks a lot for the improvement... blush

Regards.

1 Answer

0 votes
answered Jan 11, 2023 by The-Lu (74,900 points)
 
Best answer

All are fixed with last version v1.2023.0.

Thanks to PlantUML team. yes

...