LVGL PRO Tab Container

I dont know if there is a specific Pro Forum.

is there a tab component in LVGL pro? Do you have to and code a Tab View?

Thank You

Hi @MainStreetDeveloper

Yes, there is a native component for tabbed viewing. I created a simple example using lv_tabview. If you have any further questions, please let me know.

image

<screen>
	<view extends="lv_obj">
		<lv_tabview width="500" height="500" tab_bar_position="top" style_border_width="3" > 
			<lv_tabview-tab text="tab 1">
				<lv_button align="center" width="100" height="80" style_bg_color="0x0000ff" />
			</lv_tabview-tab>
			<lv_tabview-tab text="tab 2">
				<lv_button align="center" width="100" height="80" style_bg_color="0xff00ff" />
			</lv_tabview-tab>
			<lv_tabview-tab text="tab 3">
				<lv_button align="center" width="100" height="80" style_bg_color="0xff0000" />
			</lv_tabview-tab>
		</lv_tabview>
	</view>
</screen>


Thank You for the reply!

I see the widgets now!