[yast-commit] r63278 - /trunk/ncurses/src/NCMultiSelectionBox.cc

Author: gs Date: Thu Jan 27 13:31:09 2011 New Revision: 63278 URL: http://svn.opensuse.org/viewcvs/yast?rev=63278&view=rev Log: adjaust preferred width Modified: trunk/ncurses/src/NCMultiSelectionBox.cc Modified: trunk/ncurses/src/NCMultiSelectionBox.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCMultiSelectionBox.c... ============================================================================== --- trunk/ncurses/src/NCMultiSelectionBox.cc (original) +++ trunk/ncurses/src/NCMultiSelectionBox.cc Thu Jan 27 13:31:09 2011 @@ -40,7 +40,8 @@ int NCMultiSelectionBox::preferredWidth() { - return wGetDefsze().W; + wsze sze = wGetDefsze(); + return sze.W > ( int )( labelWidth() + 2 ) ? sze.W : ( labelWidth() + 2 ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org