summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 3e34c285..b9fb12b9 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -271,6 +271,9 @@ void arrange_Widget(iWidget *d) {
271 iWidget *child = as_Widget(i.object); 271 iWidget *child = as_Widget(i.object);
272 arrange_Widget(child); 272 arrange_Widget(child);
273 if (d->flags & (arrangeHorizontal_WidgetFlag | arrangeVertical_WidgetFlag)) { 273 if (d->flags & (arrangeHorizontal_WidgetFlag | arrangeVertical_WidgetFlag)) {
274 if (child->flags & moveToParentRightEdge_WidgetFlag) {
275 continue; /* Not part of the sequential arrangement .*/
276 }
274 child->rect.pos = pos; 277 child->rect.pos = pos;
275 if (d->flags & arrangeHorizontal_WidgetFlag) { 278 if (d->flags & arrangeHorizontal_WidgetFlag) {
276 pos.x += child->rect.size.x; 279 pos.x += child->rect.size.x;