Jump to content

Point

uniGUI Subscriber
  • Posts

    192
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Point

  1. 7 hours ago, Sherzod said:

    Hello,

    You are using whiere color, what color is that?

    Sorry I made a mistake in writing, I meant white.

    ._x-item-disabled .x-form-field {
        background-color: white !important;
    }

    and i try like this

    ._x-item-disabled .x-panel-body-default {
        background-color: white !important;
    }

     

    Still not working.

  2. 14 hours ago, Sherzod said:

    Hello,

    Can you try this approach?

    UniContainerPanel2 -> ClientEvents -> ExtEvents ->

    
    function resize(sender, width, height, oldWidth, oldHeight, eOpts) 
    {
        sender.getEl().select('.x-box-inner').setStyle('width', null);
        sender.getRefItems().forEach(function(item) {
            item.setStyle('width', sender.getWidth() + 'px')
        });
    }

     

    hi sherzod,

    that code not work if UniContainerPanel2 inside uniframe. 

    i try to put on resize function in uniframe, but not work too. uniFrame -> ClientEvents -> ExtEvents

  3. 2 hours ago, Popo said:

    hello,

    I tried to customize the scrollbar base on this site : https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp
    but the scrollbar's width doesn't seem to change so the panel doesn't fully cover.

    any suggestion

    Thank you in advance.

    scrollbar.png

    testcase.7z 5.17 kB · 2 downloads

    hi sherzod,

    I mean there is a space between unicontainerpanel and scrollbar. so the unicontainerpanels not fully cover the form/screen.

    thanks you.

  4. 1 hour ago, Sherzod said:

    Hello,

    Are you sure you have attached the correct test case?

    yes.

    i downloaded that file and contain the test case project.

    Is the test case project work well on there ?. in here the unicontainerpanels not fully cover even though in the layout config, have set 100%.

  5. hello,

    I tried to customize the scrollbar base on this site : https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp
    but the scrollbar's width doesn't seem to change so the panel doesn't fully cover.

    any suggestion

    Thank you in advance.

    scrollbar.png

    testcase.7z

  6. where i have to put this code in unigui 

    import L from 'leaflet';
    import { GeoSearchControl, OpenStreetMapProvider } from 'leaflet-geosearch';
    
    const provider = new OpenStreetMapProvider();
    
    const searchControl = new GeoSearchControl({
      provider: provider,
    });
    
    const map = new L.Map('map');
    map.addControl(searchControl);
  7. On 2/8/2021 at 9:56 PM, Sherzod said:
    
    function beforeInit(sender, config)
    {
        config.hideTrigger=true;
    }

     

    hi sherzod,

    i try to implement thats code for hide trigger spinner in uniEdit with InputType number, the trigger still showing.  

    any suggestion.

    thanks you.

  8. hi sherzod, not work both on form or frame.

    on form ready :

    procedure TMainForm.UniFormReady(Sender: TObject);
    begin
      with UniPanel1 do begin
        Caption := '<i class="fas fa-info-circle fa-fw"></i> Information';
        JSInterface.JSCode('Ext.get('#1'.id+"_td").setHtml("'+ Caption +'");');
      end;
    end;

    on frame ready:

    procedure TfmLoginPeserta.UniFrameReady(Sender: TObject);
    begin
      with UniPanel1 do
      begin
        Caption := '<i class="fas fa-info-circle"></i> Information';
        JSInterface.JSCode('Ext.get('#1'.id+"_td").setHtml("'+ Caption +'");');
      end;
    end;

     

     

×
×
  • Create New...