Skip to content

Commit

Permalink
Fix #21039 - Inspector: VBox height, HBox width and Spacer gap have w…
Browse files Browse the repository at this point in the history
…rong values

Fixed by changing the type of P_BOX_HEIGHT, P_BOX_WIDTH and P_SPACE properties
  • Loading branch information
Maurizio M. Gavioli authored and Maurizio M. Gavioli committed May 11, 2013
1 parent 4530ec9 commit e2a7017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libmscore/property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ static const PropertyData propertyList[] = {

{ P_GROW_LEFT, false, "growLeft", T_REAL },
{ P_GROW_RIGHT, false, "growRight", T_REAL },
{ P_BOX_HEIGHT, false, "height", T_SP_REAL },
{ P_BOX_WIDTH, false, "width", T_SP_REAL },
{ P_BOX_HEIGHT, false, "height", T_SPATIUM },
{ P_BOX_WIDTH, false, "width", T_SPATIUM },
{ P_TOP_GAP, false, "topGap", T_SP_REAL },
{ P_BOTTOM_GAP, false, "bottomGap", T_SP_REAL },
{ P_LEFT_MARGIN, false, "leftMargin", T_REAL },
Expand All @@ -100,7 +100,7 @@ static const PropertyData propertyList[] = {
{ P_BEAM_POS, false, 0, T_POINT },
{ P_BEAM_MODE, true, "BeamMode", T_BEAM_MODE },
{ P_USER_LEN, false, "", T_REAL },
{ P_SPACE, false, "space", T_REAL },
{ P_SPACE, false, "space", T_SP_REAL},
{ P_TEMPO, false, "tempo", T_TEMPO },
{ P_TEMPO_FOLLOW_TEXT, false, "followText", T_BOOL },
{ P_ACCIDENTAL_BRACKET, false, "bracket", T_BOOL },
Expand Down

0 comments on commit e2a7017

Please sign in to comment.