Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/12/21 in all areas

  1. Hello With below code you can change the apperance of the unimfileuploadbutton. BEFORE: AFTER: procedure TMainmForm.UnimFormReady(Sender: TObject); begin with UnimFileUploadButton1, JSInterface do begin JSAssign('element.dom.querySelector(".x-label-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-wrap-el").style.border', ['none']); JSAssign('element.dom.querySelector(".x-after-input-el").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-field-trigger-file-1").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-filebutton-1").style.width', ['100%']); JSAssign('element.dom.querySelector(".x-text-el").innerText', ['Take a Picture']); end; end;
    1 point
  2. Is it possible in unigui to use (or apply) this Progressive Rendering: https://dev.to/ryansolid/server-rendering-in-javascript-optimizing-performance-1jnk
    1 point
  3. Hello, Maybe this config suits you? function window.beforeInit(sender, config) { config.constrainHeader=true; }
    1 point
  4. In HTML I use: <script> function updateURL() { if (history.pushState) { var newurl = window.location.protocol + "//myurl.com"; window.history.pushState({path:newurl},'',newurl); } } </script> and in the "body"-part: <body onload="updateURL();"> This always shows only your URL ("myurl.com").
    1 point
×
×
  • Create New...