Skip to content

Commit

Permalink
adjust skewed sizing in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Wald committed Sep 25, 2017
1 parent 75c1dfa commit 80d9aec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion BBjGridExWidget.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,16 @@ class public BBjGridExWidget extends BBjWidget
htmlview!.setOpaque(0)

#HTMLView!=htmlview!
if INFO(3,6)<>"5" then
#HTMLView!.setLocation(-9,-9)
fi
fi

if INFO(3,6)="5" then
#HTMLView!.setSize(#getCanvas().getWidth(),#getCanvas().getHeight())
else
#HTMLView!.setSize(#getCanvas().getWidth()+16,#getCanvas().getHeight()+16)
fi
#HTMLView!.setSize(#getCanvas().getWidth(),#getCanvas().getHeight())
methodend

method public void onNativeEvent ( BBjNativeJavaScriptEvent ev!)
Expand Down

0 comments on commit 80d9aec

Please sign in to comment.