<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
        datasource="userDs"
        class="it.nexbit.cuba.security.userprofile.web.screens.NexbitSettingsWindow"
        messagesPack="it.nexbit.cuba.security.userprofile.web"
        focusComponent="appLangField">
    <dsContext>
        <datasource id="userDs" class="com.haulmont.cuba.security.entity.User" view="user.edit"/>
    </dsContext>

    <layout expand="buttons">
        <groupBox>
            <grid spacing="true" width="100%">
                <columns>
                    <column flex="0"/>
                    <column flex="1"/>
                </columns>
                <rows>
                    <row>
                        <label value="msg://mainWindowMode" align="MIDDLE_LEFT"/>
                        <optionsGroup id="modeOptions"/>
                    </row>
                    <row>
                        <label value="msg://mainWindowTheme" align="MIDDLE_LEFT"/>
                        <lookupField id="appThemeField" required="true" width="theme://cuba.web.settings-window.appThemeField.width"
                                     requiredMessage="msg://mainWindowThemeMsg"/>
                    </row>
                    <row>
                        <label value="msg://mainWindowLang" align="MIDDLE_LEFT"/>
                        <lookupField id="appLangField" width="theme://cuba.web.settings-window.appLocaleField.width"/>
                    </row>
                    <row>
                        <label value="msg://com.haulmont.cuba.security.entity/User.timeZone" align="MIDDLE_LEFT"/>
                        <vbox spacing="true" width="100%" expand="timeZoneAutoField">
                            <lookupField id="timeZoneLookup" width="theme://cuba.web.settings-window.timeZoneField.width"/>
                            <checkBox id="timeZoneAutoField" align="MIDDLE_LEFT"/>
                        </vbox>
                    </row>
                    <row>
                        <button id="changePasswordBtn" icon="icons/change-pass.png"/>
                    </row>
                </rows>
            </grid>
        </groupBox>
        <vbox id="buttons" margin="true;false;false;false">
            <buttonsPanel>
                <button id="okBtn" icon="icons/ok.png"/>
                <button id="cancelBtn" icon="icons/cancel.png"/>
            </buttonsPanel>
        </vbox>
    </layout>
</window>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
        class="it.nexbit.cuba.security.userprofile.web.screens.NexbitSettingsWindow"
        extends="/com/haulmont/cuba/web/app/ui/core/settings/settings-window.xml">

    <layout>
    </layout>
</window>

Refactor extended settings-window with an empty layout
Refactor extended settings-window with an empty layout

This is because CUBA team has fixed the missing IDs in the parent screen
layout.
