2007-12-06 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-label.c (clutter_label_ensure_layout): If the label has a requested size, force it when ensuring the layout.
This commit is contained in:
parent
1d03019825
commit
40df4dee2b
@ -1,3 +1,8 @@
|
|||||||
|
2007-12-06 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-label.c (clutter_label_ensure_layout): If the
|
||||||
|
label has a requested size, force it when ensuring the layout.
|
||||||
|
|
||||||
2007-12-06 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-12-06 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* tests/test-unproject.c: Fix type comparison.
|
* tests/test-unproject.c: Fix type comparison.
|
||||||
|
@ -264,7 +264,8 @@ clutter_label_ensure_layout (ClutterLabel *label)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
pango_layout_set_width (priv->layout, -1);
|
pango_layout_set_width (priv->layout, (width > 0 ? width * PANGO_SCALE
|
||||||
|
: -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
CLUTTER_NOTE (ACTOR, "Label width set to %d pixels", width);
|
CLUTTER_NOTE (ACTOR, "Label width set to %d pixels", width);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user