Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - r4gTime

Pages: [1]
Help requests / ChatBox : Line Spacing and selection
« on: 24 May 2020, 17:01:48 »
Hello, I have 2 questions about chatboxes :

1 - Is there any way to change the line spacing ? With the font I use, the line spacing between 2 lines is 0 and the line spacing between two rows of the same line is huge (see attachments)

2 - Is there any way to select text in the chat box in order to copy / paste ?

(Bonus question) How do you remove chatbox background ? With theme only ?

Thanks !

Help requests / Adding widget to group crashes
« on: 16 May 2020, 15:35:46 »

I have a very simple problem but I couldn't find the solution by myself or on this forum...

Adding any widget to my group makes my application crash.

I have a classe named Application, it has a tgui object called tgui.
When I create Application, I try to do this :
    // Some code

    // Graphical User Interface
    Application::tgui.setTarget(Application::window); // setting my tgui object on my window object
        auto button1 = tgui::Button::create();
        auto group = tgui::Group::create();

        group->add(button1, "button"); // CRASH

    catch (const tgui::Exception& e)
        std::cerr << "TGUI Exception: " << e.what() << std::endl;

I don't have any answer from cerr, and I don't understand why this would crash ?

Thank you for your help !

Pages: [1]