Jump to content

cgarrotti

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by cgarrotti

  1. TUniHTMLFrame does not accept CSS colour background

     

    I´m trying setting the background colour with css  but does not work, does have any property to set on TUniHTMLFrame ? 

     

    I tried load this html:

     

    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>
     
    <style>
    body {
      background-color: #00f000;
      color:rgb(23377);
    }
    </style>
     
    </head>
     
    <body>
     <div style="text-align:center;background-color: #999;">Hello World!</div>
    </body>
     
    </html>
     
  2. Hi,

     

    One of the possible solutions:

     

    UniButton -> ClientEvents -> UniEvents-> function beforeInit:

    function beforeInit(sender, config)
    {
        config.width="auto"
    }
    

    Best regards,

    In Delphi, how  do I get the beforeinit?

  3. Hi,

     

    Perhaps in part, but you can try to use this way I think:

     

    1. CustomFiles:

    files/bootstrap.min.css

    2. beforeInit:

    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-default";
    }
    
    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-primary";
    }
    
    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-success";
    }
    
    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-info";
    }
    
    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-warning";
    }
    
    function beforeInit(sender, config)
    {
        config.baseCls="btn";
        config.cls="btn-danger";
    }
    

    Result:

     

    attachicon.gifbootstrapButtons.png

     

    Best regards,

    Where stay this beforeinit ? On uniButton component ? 

  4. Unigui for Tokyo will work on linux without problems?

     

     

    Can I do deploy on linux using unigui with FastReport?

     

    My idea is to build a BI using FastReports with Unigui, but running a linux server. For example doing deploy in amazon, will I get it?

     

    Thanks

     

    Charles

     

    My idea is to build a BI using FastReports with Unigui, but running a linux server. For example doing deploy in amazon, will I get it?

  5. Error at load Site.

    On Log file appear:

     

    htmlEd: 00001150: 09:08:53 [HandleFileRequest[127.0.0.1]]:File not found: C:\ext-4.2.2.1144\bootstrap-manifest.js
    htmlEd: 000015E4: 09:08:53 [HandleFileRequest[127.0.0.1]]:File not found: C:\ext-4.2.2.1144\bootstrap-files.js
     
    But i didn´t find on any directory.
     
    Charles
×
×
  • Create New...