bruno

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Separators in Toolbars #70658
    bruno
    Participant

    I use Windows 11 dark
    Here is a sample with Windows 11 light.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Skinning problem when using TGridPanel #70653
    bruno
    Participant

    I’m not sure I did save the source properly before sending it. Here is the correct attachment.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Skinning problem when using TGridPanel #70647
    bruno
    Participant

    Hi
    Here is a sample program to show you what the problem is.
    I define custom sections (in the common sections) which I use for one panel and one button.
    The TGridPanel is placed on the panel that uses a custom section. This grid is black but it should be red as the panel.
    The button placed in the grid has not rounded corners as I hoped it would have.
    I hope my explanations are clear, but maybe the code will be clearer 🙂

    Attachments:
    You must be logged in to view attached files.
    in reply to: Skinning problem when using TGridPanel #70534
    bruno
    Participant

    I still have a problem though.
    When I insert a TGridPanel in a colored panel, the TGridPanel appears as it adopts the standard color of the current skin (which is Windows 11 dark in the attachment). Could it be transparent? Is there a way to solve the problem (programmaticaly?) ?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Skinning problem when using TGridPanel #70533
    bruno
    Participant

    Hi,
    I just discovered your message. It solved the problem indeed. Thanks !

    in reply to: TsHTMLLabel and bold font used with Open Sans #70447
    bruno
    Participant

    I continued my tests… and finally found the origin of the problem.
    It appears that the font names are located in Windows: if you want to use the bold version of Segoe UI, you’ll need to indicate “Segoe UI Gras” in French and “Segoe UI Bold” in English. That’s pretty annoying if you want your program to function the same way in different countries. But anyway I found the solution for my current need, as I wanted to use “Segoe UI Semibold”, which name seems to remain stable !

    in reply to: TsHTMLLabel and bold font used with Open Sans #70445
    bruno
    Participant

    My previous question was unnecessary as I discovered in the source of the component that there was a “FONT FACE” tag available.
    But there is a little annoying bug associated with its use. The text height is not calculated properly when I use the following code :
    '<FONT FACE="Segoe UI Bold">' + Text1 + ' </FONT>' + '<FONT FACE="Segoe UI">' + Text2 + '</FONT>'

    Attachments:
    You must be logged in to view attached files.
    bruno
    Participant

    I made some further tests
    When I define at the same time a border radius and a color tone, here is the result: the color tone doesn’t respect the rounded form. And when I add an outer effect this is the same (the effect is applied as if there were square corners)

    Attachments:
    You must be logged in to view attached files.
Viewing 8 posts - 1 through 8 (of 8 total)