إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ui.Panel.Layout.flow
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه السمة تخطيطًا يضع عناصر واجهة المستخدم في مسار، أفقيًا أو عموديًا.
تستهلك التطبيقات المصغّرة تلقائيًا المساحة الطبيعية ضمن لوحة التنسيق المتدفّق. اضبط سمة النمط "stretch" على أداة مضافة لتوسيعها لملء المساحة المتاحة في الاتجاه ذي الصلة:
- أفقي أو عمودي أو كلاهما
عند تمديد عدة أدوات، يتم تقسيم المساحة المتاحة بالتساوي بينها. اللوحات هي تطبيقات مصغّرة بحد ذاتها ويمكن تمديدها من خلال تحديد سمة نمط "التمديد".
الاستخدام | المرتجعات |
---|
ui.Panel.Layout.flow(direction, wrap) | ui.Panel.Layout |
الوسيطة | النوع | التفاصيل |
---|
direction | سلسلة، اختياري | تمثّل هذه السمة اتجاه التدفق. إحدى القيمتين
'horizontal' أو 'vertical'. القيمة التلقائية هي "عمودي". |
wrap | قيمة منطقية، اختيارية | تحديد ما إذا كان سيتم تضمين العناصر الثانوية في التصميم إذا كان هناك عدد كبير جدًا منها لا يمكن عرضه في سطر واحد القيمة التلقائية هي "خطأ". |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003eui.Panel.Layout.flow()\u003c/code\u003e function arranges widgets within a panel in either a horizontal or vertical flow.\u003c/p\u003e\n"],["\u003cp\u003eWidgets naturally occupy their required space but can be stretched to fill available space using the "stretch" style property.\u003c/p\u003e\n"],["\u003cp\u003eWhen multiple widgets have the "stretch" property, the available space is divided equally among them, including panels which are also widgets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eflow\u003c/code\u003e layout can be customized using the \u003ccode\u003edirection\u003c/code\u003e argument for flow orientation (horizontal or vertical) and the \u003ccode\u003ewrap\u003c/code\u003e argument to control wrapping of overflowing widgets.\u003c/p\u003e\n"]]],[],null,["# ui.Panel.Layout.flow\n\n\u003cbr /\u003e\n\nReturns a layout that places its widgets in a flow, either horizontal or vertical.\n\n\u003cbr /\u003e\n\nBy default, widgets take up their natural space within a flow layout panel. Set the \"stretch\" style property on an added widget to stretch it to fill available space in the relevant direction:\n\n- horizontal, vertical, both\n\nWhen multiple widgets are stretched, the available space is split equally among them. Panels are widgets themselves and can be stretched by specifying a \"stretch\" style property.\n\n| Usage | Returns |\n|--------------------------------------------------|-----------------|\n| `ui.Panel.Layout.flow(`*direction* `, `*wrap*`)` | ui.Panel.Layout |\n\n| Argument | Type | Details |\n|-------------|-------------------|------------------------------------------------------------------------------------------------------|\n| `direction` | String, optional | The direction of the flow. One of 'horizontal' or 'vertical'. Defaults to 'vertical'. |\n| `wrap` | Boolean, optional | Whether to wrap children in the layout if there are too many to show in one line. Defaults to false. |"]]