Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: Adding long lines in ChatBox
« Last post by billarhos on Today at 19:23:59 »
I change the font and it solved.
2
General Discussion / Re: Adding long lines in ChatBox
« Last post by texus on Today at 19:23:20 »
Is it possible that your font just renders that way? Because the only thing the ChatBox should be doing is adding newline characters at the end of the line, I don't think it positions those lines manually.
3
General Discussion / Re: Adding long lines in ChatBox
« Last post by billarhos on Today at 19:20:35 »
Well it is not quite overllaping but lines has no gap between.
4
General Discussion / Re: Adding long lines in ChatBox
« Last post by texus on Today at 18:39:23 »
Are texts overlapping for you? The lines should just be positioned below each other. It still works with some simple code here.
5
General Discussion / Adding long lines in ChatBox
« Last post by billarhos on Today at 15:48:43 »
How can avoid overlaping text lines when i add line that exceed chatbox's width?
6
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 24 June 2019, 19:27:10 »
Quote
You forgot this for all widgets

 ;D
7
General Discussion / Re: Kitchen Sink
« Last post by texus on 24 June 2019, 19:07:55 »
Quote
In gui.txt just add "OpacityDisabled = 0.3" in ChildWindow section and the code will hung  in "mGuiTheme.load("resources/gui.txt");"
I can't reproduce hanging, but last time you said "gave me an exception" so I'm assuming that is still what you mean. The reason is probably because you forgot a semi-colon behind the line (if you catch the tgui::Exception that gets thrown it will likely tell you that parsing failed on that line, maybe even mentioning which character it read). You forgot this for all widgets, but the parser is more forgiving when it is the very last line in the section.
8
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 24 June 2019, 06:22:55 »
Quote
was actually just the text color,
Yes it fixed. :o

My mistake. Sometimes when i am in hurry i act like a drunk. I was meant "ChildWindow"
In gui.txt just add "OpacityDisabled = 0.3" in ChildWindow section and the code will hung  in "mGuiTheme.load("resources/gui.txt");"

Quote
Do you think there should be a downloadable exe
No. I was sending the executable to you because i was thinking that it could help you in the process.
Just like builder-gui, it should be compiled in user side.

For all other stuff like where should be this or that, is really up to you. You can use another free font (smaller) if you like. You can change everything you like. You can put psd in website as you mention if that suits you.
 
Please act as yours.

9
General Discussion / Re: Kitchen Sink
« Last post by texus on 23 June 2019, 22:39:41 »
Quote
However there is a problem with menubar and opacity of texts color when they get enabled.
It definitely looks like that with the White theme, but if the issue you were seeing is the one that I just fixed then the problem was actually just the text color, not the opacity.

Quote
Also a setopacitydisable value in gui.txt for messagebox gave me an exception.
Did you make a typo when making the forum post or are you actually using "setopacitydisable"? Because it should be "opacitydisabled" (without "set" in front and with a "d" at the end).

Quote
Now we have something, i think. 8)
Yep, you did a great job.
Now we just need to get it integrated with TGUI.

Do you think there should be a downloadable exe for the example on the website? If so, maybe you could build the executable statically (including linking statically to standard library) so that it can run on any computer. It would require rebuilding SFML with SFML_USE_STATIC_STD_LIBS and TGUI with TGUI_USE_STATIC_STD_LIBS.

Something should still be done about gnu-freefont_freeserif.zip. The KitchenSink folder is 6.2MB of which 4.3MB is an unused zip file. Whether you keep all the files or except for the font files or whether you do what I suggested earlier ("Maybe the font should be moved to a new subfolder which would contain the README, FreeSerifBold.otf, CREDITS, COPYING and AUTHORS files.") is up to you. When the example gets included with TGUI, every download is going to increase by the size of that KitchenSink folder. For this reason it might also be better to not ship the gui.psd file with the project either, it almost takes up half of the size if you remove the zip. If there is going to be a page on the website about the example I can still put the psd file there.
(I know my tests folder is a few MB too where it could also be argued that it shouldn't be in the project either if I want to keep things small, but that isn't an excuse to add even more bloat than there already is).
10
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 22 June 2019, 20:50:49 »
http://www.mediafire.com/file/qh6jds5g9z3jdfp/KitchenSink.rar/file

Now we have something, i think. 8)
Make all changes, added a  custom message box on exit.
Some fixes made.
Added opacity on disabled where needed. However there is a problem with menubar and opacity of texts color when they get enabled.
Also a setopacitydisable value in gui.txt for messagebox gave me an exception.
Pages: [1] 2 3 ... 10