http://bugzilla.novell.com/show_bug.cgi?id=289600
User gs@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=289600#c11
Gabriele Mohr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
CC|kmachalkova@novell.com |
Info Provider| |kmachalkova@novell.com
--- Comment #11 from Gabriele Mohr 2009-04-23 03:40:45 MDT ---
I did some more tests and realized that the supposed patch would also affect
the NCLabel widget itself because it also calculates its default size from
NCtext::Lines() (see NClabel::size()).
But the negative aspect that an empty label cannot be changed (mentioned in
last comment) seems not to be an argument against the change. In
ycp-ui-bindings/examples/Label3.ycp I found the comment that after changing a
label it is necessary to recalculate the layout anyway. With calling
UI::RecalcLayout after changing an empty label the label is shown correctly for
all widgets (see example InputField2.ycp and Label3.ycp in
~gs/Export/yast2-ncurses).
Bubli, it seems to be ok to check the patch in? Can you think of any negative
consequences?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.