The Deep/Shallow History widget contains text in the form 'H*'/'H'. When increasing the size of the widget the text stays in the top left corner of the widgets and is not centered as text of other widgets like the state widget
I propose that we disable the resizing of Deep/Shallow History widgets, because bigger widgets make no sense in this case.
(In reply to comment #1) > I propose that we disable the resizing of Deep/Shallow History widgets, > because bigger widgets make no sense in this case. +1 ... and similar for state diagram start/end state (at least define a maximumSize in this case, right now we can draw big red balloons :)
SVN commit 1286480 by okellogg: StateWidget: - Copy m_drawVertical and its accessors and load/save code from ForkJoinWidget to allow flipping fork/join horizontal. - maximumSize(): Reimplement from UMLWidget. ListPopupMenu::ListPopupMenu(parent, object, multi, unique): - At case WidgetBase::wt_State, add mt_Flip for pState->stateType() StateWidget::Fork and StateWidget::Join. M +1 -0 ChangeLog M +12 -1 umbrello/listpopupmenu.cpp M +50 -0 umbrello/widgets/statewidget.cpp M +5 -0 umbrello/widgets/statewidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1286480
(In reply to comment #3) > SVN commit 1286480 by okellogg: > > StateWidget: > - Copy m_drawVertical and its accessors and load/save code from > ForkJoinWidget to allow flipping fork/join horizontal. This imply to update XMI_FILE_VERSION in umldoc.cpp ?
(In reply to comment #3) > SVN commit 1286480 by okellogg: > > - maximumSize(): Reimplement from UMLWidget. relating to the limit: do you have tried to increase the diagram font size to say 28 ?
SVN commit 1286597 by habacker: Update of xmi file version - revision 1286480 added an xmi attribute for state widgets. M +1 -1 umldoc.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1286597
SVN commit 1286610 by okellogg: Address https://bugs.kde.org/show_bug.cgi?id=296331#c5 as follows: StateWidget::paint (case {Deep,Shallow}History): - Consider font metrics in calculation of drawText() x and y args. StateWidget::minimumSize (case {Deep,Shallow}History): - Set width and height to active QFontMetrics::lineSpacing(). StateWidget::maximumSize (case {Deep,Shallow}History): - Allow for enlarging to active QFontMetrics::lineSpacing() + 10. M +29 -7 statewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1286610
(In reply to comment #6) > SVN commit 1286597 by habacker: > > Update of xmi file version - revision 1286480 added an xmi attribute for > state widgets. > You're right, I forgot that. Thanks.