Jump to content

artem_niko

uniGUI Subscriber
  • Posts

    635
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by artem_niko

  1. 6 minutes ago, Sherzod said:

    How?

    UniHTMLFrame1, with HTML code from instructions, on the UniLoginForm and I was write:

    UniLoginForm1.Script:='<script src="https://captcha-api.yandex.ru/captcha.js" defer></script>';

    Of course, widget not working...

  2. Good evening!
    I'm looking here and thinking about whether it makes sense to use Yandex Captcha.
    I use the instructions: https://cloud .yandex.ru/docs/smartcaptcha/quickstart#add-widget

    I did everything as it is written there, but I got to the point of adding a widget and stupor.

    What should I use? Uni HTML Frame?
    Where to put the script connection: 

    <script src="https://captcha-api.yandex.ru/captcha.js" defer></script>

    At the moment I have no error occurs, but the widget is not displayed either:

    image.png.dcc8a15493881f3c1d1f801742cb621e.png

    The widget is located on UniLoginForm.

  3. Hello!

    How I can hide this title in UniPanel?

    image.png.b63678c20da34c410dde4feaf137c75a.png

    I need to leave the ability to collapse UniPanel, with the property UniPanel1.Collapsible=True, but at the same time hide what I highlighted with a red frame.

    The thing is that if I set UniPanel1.Collapsible=False and click 

    procedure TMainForm.UniImage2Click(Sender: TObject);
    begin
      UniPanel7.Collapsed:=not UniPanel7.Collapsed;
    end;


    then when UniPanel1 collapses, everything under it, for example, UniPanel2, does not rise up. UniPanel2 is raised correctly only if you register UniPanel1.Collapsible=True and collapse/expand through the arrow in the UniPanel1 header.

  4. 1 minute ago, Sherzod said:

    It's not your fault, don't worry...
    I just didn't understand your question.

    So I kind of drew a picture...
    I can't just lower UniPanel2 below, "under" UniPanel1. Now it turns out that UniPanel2 overlaps UniPanel1, as it were, being displayed in the upper left corner, using the code:

    UniPanel2.Left:=0;
    UniPanel2.Top:=0;

     

  5. Hello!

    I need, when clicking on the UB button, to display UniPanel2 in the upper left corner of the MainForm.
    Moreover, the UB button is located on UniPanel1, i.e. UniPanel2 should be lower by the height of UniPanel1.
    When I write just like that:

    UniPanel2.Left:=0;
    UniPanel2.Top:=0;

    then UniPanel2 is displayed on the left in the value Left:=0, but it is not possible to indent down to the height of UniPanel1 from above.

    Please help me correctly set the location of UniPanel2.
    The screenshot shows how I need it to be:

    image.png.2f5c735ffd9ebc7921029f1a60df092f.png

  6. Hello!

    How make round UniButton?

    This is code make UniImage is round:

    .avatar img
    	{
        vertical-align: middle;
     	 width: 40px;
     	 height: 38px;
     	 border-radius: 50%;
    	}

    Need change form of UniButton.

  7. 4 minutes ago, Sherzod said:

    I don't know what settings you have...

    Works for me.

    #messagebox-1001 .x-title-text {
      color: green;
    }

    image.png.d799f5de55b13b4c34ffaea18d488e39.png

    @Sherzod, let's leave the color of the text in the title alone :)
    I'm saying that the color of the text itself changes perfectly, it works. I'm talking now about changing the color of the title itself, look at the screenshot:

    On this screenshot what I want:

    image.png.ae1c5675111d5b6de0caa4c9db491496.png

  8. 3 minutes ago, Sherzod said:

    Try with !important then.

    So I have no questions to the text in the title.
    The text in the title changes perfectly.
    I am interested in the color of the title itself and the white background. 
    I just need to make these changes so that everything is in the same style by colors.

  9. 2 minutes ago, Sherzod said:
    #messagebox-1001-msg {
      color: orange;
    }

    Hmmm...this code change font of color all text in MessageDlg, but not color of title.

    3 minutes ago, Sherzod said:
    #messagebox-1001 .x-title-text {
      color: green;
    }

    This is change color of text in title.

    Thus, still last question: how change color in title (no text)?

  10. 26 minutes ago, Sherzod said:

    ?

    I'm so sorry, this is my mistake. You code is right.

    Last question: how to apply and change font color in title and self title?

    image.png.211d00567fc7501776340b8a7fd93edd.png

    How this make with form - I know, but, how this make in MessageDlg - no.

  11. 1 minute ago, Sherzod said:
    #messagebox-1001 {
      border-radius: 10px;
    }
    .x-css-shadow {
      display: none;
    }

     

    No no.

    This is code remove shadow.

    Shadow let's still.

    Question №2 about rounded corners in MessageDlg.

    Is it possible change?

  12. 4 minutes ago, Sherzod said:

    Just add this to CustomCSS:

    #messagebox-1001 .x-btn {
      border-radius: 10px;
    }

     

    Perfect, working!

    What about this:

    2. How make rounded corners of MessageDlg (see second screen)?

     

  13. Hello!

    I'm having some questions about MessageDlg:

    1. How change text in hint of button (red round)?

    2. How make rounded corners of MessageDlg (see second screen)?

    3. How make rounded corners in buttons in MessageDlg?

    image.png.ecf857b56f578898d365d9dc85a1b4d9.png

    About question №2.

    In my CSS I write:

    /*MessageDlg*/
    .x-box-inner
    {
    	color: none; /*цвет шрифта в сообщении*/
    	border-radius: 10px 10px 10px 10px;
    }

    But, corners rounded not form with message, rounded corners in shadow:

    image.png.c9170d71759f205765bc23bd6df7a644.png

  14. 8 minutes ago, Sherzod said:

    Hello, 

    This post may help you:

     

    Yes, I have seen this topic and used examples from there. But, I'm talking about something else. I'm not talking about the panel shadow. I mean to make her bulge somehow. The shadow is easy to make, but what about the bulge, for example? As in the screenshot of my button.

×
×
  • Create New...