Jump to content

Recommended Posts

Posted
On 2/19/2019 at 1:38 PM, Helmut Hort said:

How can I change the background color of pdfframe from black to any other color?

Hello,

Because pdfjs does not support themes, one possible solution, you need to change viewer.css ( for example in a folder \FMSoft\Framework\uniGUI\uni-1.70.0.14xx\pdf.js\web )

Just add the following css rules at the end, and don't forget to clear your browser's cache:

#viewer, #toolbarViewer {
    background-color: green !important
}        

.toolbarButton, .secondaryToolbarButton, .overlayButton {
   	background-color: orange !important;
}

pdfjsTheme.png.b38ed5ea07ca897e6e4f1d67f75f2138.png

  • Like 1
  • 3 years later...
Posted
On 2/24/2019 at 2:59 AM, Sherzod said:

Hello,

Because pdfjs does not support themes, one possible solution, you need to change viewer.css ( for example in a folder \FMSoft\Framework\uniGUI\uni-1.70.0.14xx\pdf.js\web )

Just add the following css rules at the end, and don't forget to clear your browser's cache:

#viewer, #toolbarViewer {
    background-color: green !important
}        

.toolbarButton, .secondaryToolbarButton, .overlayButton {
   	background-color: orange !important;
}

pdfjsTheme.png.b38ed5ea07ca897e6e4f1d67f75f2138.png

Hello!

How change font color in caption and background color of popupmenu?

image.png.07a2dbaad02377078b8ddde31194e3bd.png

  • 3 years later...
  • 2 weeks later...
Posted
On 4/27/2026 at 2:20 AM, Sherzod said:

Hello,

- Which theme are you using?
- Which versions of uniGUI?
- Could you provide a minimal test case?

Yes, it's enough for me not even to change the color, but just to take and hide the entire panel with controls completely.
To just display the PDF document and that's it, and you could just view it.

Is it possible to do this in principle?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...