ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.Panel.Layout.flow
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি লেআউট প্রদান করে যা এর উইজেটগুলিকে একটি প্রবাহে রাখে, হয় অনুভূমিক বা উল্লম্ব।
ডিফল্টরূপে, উইজেটগুলি একটি ফ্লো লেআউট প্যানেলের মধ্যে তাদের স্বাভাবিক স্থান নেয়। প্রাসঙ্গিক দিক থেকে উপলব্ধ স্থান পূরণ করতে এটি প্রসারিত করতে একটি যুক্ত উইজেটে "প্রসারিত" শৈলী বৈশিষ্ট্য সেট করুন:
- অনুভূমিক, উল্লম্ব, উভয়
যখন একাধিক উইজেট প্রসারিত হয়, উপলব্ধ স্থান তাদের মধ্যে সমানভাবে বিভক্ত হয়। প্যানেলগুলি নিজেই উইজেট এবং একটি "প্রসারিত" শৈলী বৈশিষ্ট্য নির্দিষ্ট করে প্রসারিত করা যেতে পারে।
ব্যবহার | রিটার্নস | ui.Panel.Layout.flow( direction , wrap ) | ui.প্যানেল.লেআউট |
যুক্তি | টাইপ | বিস্তারিত | direction | স্ট্রিং, ঐচ্ছিক | প্রবাহের দিক। 'অনুভূমিক' বা 'উল্লম্ব'-এর একটি। ডিফল্ট 'উল্লম্ব'। |
wrap | বুলিয়ান, ঐচ্ছিক | একটি লাইনে দেখানোর জন্য অনেকগুলি থাকলে লেআউটে বাচ্চাদের মোড়ানো হবে কিনা। ডিফল্ট থেকে মিথ্যা. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\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. |"]]