[yast-commit] r44063 - /trunk/ncurses/src/NCIntField.cc
Author: kmachalkova Date: Thu Jan 31 14:18:20 2008 New Revision: 44063 URL: http://svn.opensuse.org/viewcvs/yast?rev=44063&view=rev Log: Align numbers in IntFields to the right margin of the label, not to the right margin of the entire screen (bnc#309118) Modified: trunk/ncurses/src/NCIntField.cc Modified: trunk/ncurses/src/NCIntField.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCIntField.cc?rev=44063&r1=44062&r2=44063&view=diff ============================================================================== --- trunk/ncurses/src/NCIntField.cc (original) +++ trunk/ncurses/src/NCIntField.cc Thu Jan 31 14:18:20 2008 @@ -175,7 +175,7 @@ trect.Sze.H, trect.Sze.W, trect.Pos.L, trect.Pos.C, 'r' ); - vstart = ( vlen + 2 < (unsigned)trect.Sze.W ) ? trect.Sze.W - vlen - 2 : 0; + vstart = ( vlen + 2 < (unsigned)trect.Sze.W ) ? label.width() - vlen - 2 : 0; } /////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org