// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.2
// LVGL version: 9.1.0
// Project name: SmartGrow

#include "ui.h"

void ui_Screen5_screen_init(void)
{
    ui_Screen5 = lv_obj_create(NULL);
    lv_obj_remove_flag(ui_Screen5, LV_OBJ_FLAG_SCROLLABLE);      /// Flags

    ui_wifipw = lv_textarea_create(ui_Screen5);
    lv_obj_set_width(ui_wifipw, 160);
    lv_obj_set_height(ui_wifipw, 42);
    lv_obj_set_x(ui_wifipw, 65);
    lv_obj_set_y(ui_wifipw, -30);
    lv_obj_set_align(ui_wifipw, LV_ALIGN_CENTER);
    lv_textarea_set_placeholder_text(ui_wifipw, "Wlan Passwort");



    ui_wifikeyboard = lv_keyboard_create(ui_Screen5);
    lv_obj_set_width(ui_wifikeyboard, 300);
    lv_obj_set_height(ui_wifikeyboard, 120);
    lv_obj_set_x(ui_wifikeyboard, 0);
    lv_obj_set_y(ui_wifikeyboard, 55);
    lv_obj_set_align(ui_wifikeyboard, LV_ALIGN_CENTER);

    ui_wifinetlist = lv_dropdown_create(ui_Screen5);
    lv_obj_set_width(ui_wifinetlist, 160);
    lv_obj_set_height(ui_wifinetlist, LV_SIZE_CONTENT);    /// 1
    lv_obj_set_x(ui_wifinetlist, 65);
    lv_obj_set_y(ui_wifinetlist, -80);
    lv_obj_set_align(ui_wifinetlist, LV_ALIGN_CENTER);
    lv_obj_add_flag(ui_wifinetlist, LV_OBJ_FLAG_SCROLL_ON_FOCUS);     /// Flags



    ui_wifipwlbl = lv_label_create(ui_Screen5);
    lv_obj_set_width(ui_wifipwlbl, LV_SIZE_CONTENT);   /// 1
    lv_obj_set_height(ui_wifipwlbl, LV_SIZE_CONTENT);    /// 1
    lv_obj_set_x(ui_wifipwlbl, -190);
    lv_obj_set_y(ui_wifipwlbl, -31);
    lv_obj_set_align(ui_wifipwlbl, LV_ALIGN_RIGHT_MID);
    lv_label_set_text(ui_wifipwlbl, "Passwort:");
    lv_obj_set_style_text_font(ui_wifipwlbl, &lv_font_montserrat_22, LV_PART_MAIN | LV_STATE_DEFAULT);

    ui_wifiname = lv_label_create(ui_Screen5);
    lv_obj_set_width(ui_wifiname, LV_SIZE_CONTENT);   /// 1
    lv_obj_set_height(ui_wifiname, LV_SIZE_CONTENT);    /// 1
    lv_obj_set_x(ui_wifiname, -190);
    lv_obj_set_y(ui_wifiname, -80);
    lv_obj_set_align(ui_wifiname, LV_ALIGN_RIGHT_MID);
    lv_label_set_text(ui_wifiname, "Wlan:");
    lv_obj_add_flag(ui_wifiname, LV_OBJ_FLAG_CLICKABLE);     /// Flags
    lv_obj_set_style_text_font(ui_wifiname, &lv_font_montserrat_22, LV_PART_MAIN | LV_STATE_DEFAULT);

    lv_obj_add_event_cb(ui_wifikeyboard, ui_event_wifikeyboard, LV_EVENT_ALL, NULL);
    lv_obj_add_event_cb(ui_wifiname, ui_event_wifiname, LV_EVENT_ALL, NULL);

}
