| Summary: | Prohibit a size of 0 pixel for a label | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> |
| Component: | Core | Assignee: | Steve Monnier <steve.monnier> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | florian.barbin, maxime.porhel, steve.monnier |
| Version: | 0.9 | Keywords: | triaged |
| Target Milestone: | 3.1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/45001 https://git.eclipse.org/r/52347 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2a946ad66da34123bdcd0f49ce540d03316240fc |
||
| Whiteboard: | |||
|
Description
Laurent Redor
New Gerrit change created: https://git.eclipse.org/r/45001 DTreeElementSynchronizerSpec, StyleHelper and DtableElementSynchronizer should also avoid to set 0 value for the font size. They might set 1 as minimum value. Steps to reproduce (User): Open a diagram Select an element Change the label size in the style tab of the properties views The error is logged in the error log Step to reproduce (Specifier) Open a VSM Select or create any label (style) description Descrese the label size in the label tab: 1 should the minimum possible value. DTreeElementSynchronizerSpec, StyleHelper and DtableElementSynchronizer modification will prevent the error also in case of a style custmization forcing a 0 value. Note: the hide label and hide label per defualt capabilities should soon arrive on container and lists. This should cover the cases for which a specifier might want to set a 0 size. New Gerrit change created: https://git.eclipse.org/r/52347 Gerrit change https://git.eclipse.org/r/52347 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2a946ad66da34123bdcd0f49ce540d03316240fc Pushed on the master branch Verified with 3.1.0.201509211006 Available in Sirius 3.1.0. |