Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 28, 2014
1 parent a34fdda commit 321552c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions doomsday/libappfw/include/de/widgets/foldpanelwidget.h
Expand Up @@ -27,15 +27,14 @@ namespace de {
/**
* Folding panel.
*
* You should first set the container of the folding panel with setContent().
* This ensures that widgets added to the panel use the appropriate stylist.
* You should first set the container of the folding panel with setContent(). This
* ensures that widgets added to the panel use the appropriate stylist.
*
* When dismissed, the panel contents are GL-deinitialized and removed from
* the widget tree entirely.
* When dismissed, the panel contents are GL-deinitialized and removed from the widget
* tree entirely.
*
* FoldPanelWidget creates a title button for toggling the panel open and
* closed. It is the user's responsibility to lay out this button
* appropriately.
* If needed, FoldPanelWidget can create a title button for toggling the panel open and
* closed. It is the user's responsibility to lay out this button appropriately.
*/
class LIBAPPFW_PUBLIC FoldPanelWidget : public PanelWidget
{
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libappfw/src/widgets/labelwidget.cpp
Expand Up @@ -249,7 +249,7 @@ public Font::RichFormat::IStyle
*/
void contentPlacement(ContentLayout &layout) const
{
Rectanglei const contentRect = contentArea(); //self.rule().recti().adjusted(margin.xy(), -margin.zw());
Rectanglei const contentRect = contentArea();

Vector2f const imgSize = imageSize() * imageScale;

Expand Down

0 comments on commit 321552c

Please sign in to comment.