Jump to content
uniGUI Discussion Forums

Recommended Posts

Dont work...


Put in ServerModule 


ext-4.2.1.883/resources/ext-theme-azzurra/js/azzurra.js


 


Extract files to ...FMSoft\Framework\uniGUI\ext-4.2.1.883\resources


 


And when i run app, dont change to azzurra theme...

Share this post


Link to post
Share on other sites

Hi,

i add my project but i not see window title.

 

Hi! You need to include the "azzurra.js" to ServerModule in custom files, such as:

 

 

procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);
begin
  UniServerModule.CustomFiles.Add('ext-' + ExtJSVersion + '/resources/ext-theme-azzurra/js/azzurra.js');
end;

Share this post


Link to post
Share on other sites

 

Dont work...

Put in ServerModule 

ext-4.2.1.883/resources/ext-theme-azzurra/js/azzurra.js

 

Extract files to ...FMSoft\Framework\uniGUI\ext-4.2.1.883\resources

 

And when i run app, dont change to azzurra theme...

 

 

 

Hi Bruno! Change the Theme property in your MainModule for: azzurra

Share this post


Link to post
Share on other sites

ok i changed form title color.

how  i change all button color? or  how change theme color?

Share this post


Link to post
Share on other sites



I have one question, if you can help me .

I would have to select the color for the theme in objects unigui

example Source Ext:
source: http://dox.codaxy.com/ext5-themes/Getting-Started#ui-styles
var panel = Ext.widget('panel', {
title: 'Panel with UI',
ui: 'blue-panel', <<<<<<======== here
frame: true,
height: 150,
width: 300,
buttons: [{
text: 'Button',
ui: 'orange-button' <<<<<<========
}]
});


Share this post


Link to post
Share on other sites

function beforeInit(sender, config)
{
config.ui='blue-panel';
}

Share this post


Link to post
Share on other sites

help,

the default theme is not applied by azzurra.js when the application is working with uniservermoduke.mainformdisplaypage = mfPage but it's ok with mfwindow.

extract of js :

Ext.define('Ext.window.WindowActiveCls', {
    override: 'Ext.window.Window',

    statics: {
        _activeWindow: null
    },

    shadow: false,
    ghost: false,
    ui: 'blue-window-active',
    border: false,
    setActive: function (active, newActive) {

        this.callParent(arguments);

        var me = this;

        if (!me.el)
            return;

        if (Ext.getVersion().version >= '4.2.2.1144') {
            if (me.id.indexOf('window') == 0 && me.id.indexOf('-ghost') > 0)
                return;
        }

        var paw = Ext.window.Window._activeWindow;

        if (active) {
            me.addCls('x-window-active');
            
            Ext.window.Window._activeWindow = me;

            if (paw && paw != me && paw.el) {
                paw.removeCls('x-window-active');
            }
        } else {
            if (me!=paw)
                me.removeCls('x-window-active');
        }
    }
});

How can i modify js for mfpage mode ?

Share this post


Link to post
Share on other sites

Daniel,

 

Thanks for the theme azurra. but I am also interested by the layout window sample you. can i have a copy ?

 

thx

 

 

eric

Share this post


Link to post
Share on other sites

×