Skip to content

Commit

Permalink
fix clipping of CheckBoxFrame label
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandres committed Jul 13, 2012
1 parent fe199dc commit c9dffa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NCCheckBoxFrame.cc
Expand Up @@ -146,10 +146,10 @@ void NCCheckBoxFrame::wRedraw()

if ( gotBuddy() )
label.drawAt( *win, widgetStyle(), wpos( 0, 5 ),
wsze( 1, win->width() - 2 ), NC::TOPLEFT, false );
wsze( 1, win->width() - 6 ), NC::TOPLEFT, false );
else
label.drawAt( *win, bg, bg, wpos( 0, 5 ),
wsze( 1, win->width() - 2 ), NC::TOPLEFT, false );
wsze( 1, win->width() - 6 ), NC::TOPLEFT, false );

const NCstyle::StWidget & style( widgetStyle() );

Expand Down

0 comments on commit c9dffa1

Please sign in to comment.