hi slicky,
i will try to verify this asap. Thanks for the details.
CEGUI Layout Editor 0.5.0 RC2
Moderators: CEGUI MVP, CEGUI Team
Hi all,
today I decided to try out the layout editor for the first time and after some hassle to get it to work i became instantly fond of using it. It's a nice tool that simplifies life a lot However I have already noticed one thing and have a feature request .
bug: When I set a colour in the editor for text, the text shows in the editor in that colour but when I load the xml in my application the text is just white.
feature request: I noticed that for a static text you can set the colour but for the text of, for example a button, you cannot set the text colour, would be cool if you could set that too.
ps
great job on the editor really like it
today I decided to try out the layout editor for the first time and after some hassle to get it to work i became instantly fond of using it. It's a nice tool that simplifies life a lot However I have already noticed one thing and have a feature request .
bug: When I set a colour in the editor for text, the text shows in the editor in that colour but when I load the xml in my application the text is just white.
feature request: I noticed that for a static text you can set the colour but for the text of, for example a button, you cannot set the text colour, would be cool if you could set that too.
ps
great job on the editor really like it
A few issues with CE layout editor
Hi all.
I tried to load a layout file containing all widgets copied from
http://www.cegui.org.uk/wiki/index.php/WidgetGalore
When loading this into the layout editor (or loading it using lua scripts) I get the following error:
Message: GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/TabPane' objects
Looking into the TaharezLook.scheme I noticed that there are things in it that is not available in CELayoutEditor, for example HorizontalScroll? etc.
How come?
Another problem is that the WYSWIG view of the layout is not updated until the widget (or really the background image) is touched with the mouse, so changing a value in the property box is not reflected immediately.
I tried to load a layout file containing all widgets copied from
http://www.cegui.org.uk/wiki/index.php/WidgetGalore
When loading this into the layout editor (or loading it using lua scripts) I get the following error:
Message: GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/TabPane' objects
Looking into the TaharezLook.scheme I noticed that there are things in it that is not available in CELayoutEditor, for example HorizontalScroll? etc.
How come?
Another problem is that the WYSWIG view of the layout is not updated until the widget (or really the background image) is touched with the mouse, so changing a value in the property box is not reflected immediately.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
welcome to the forums
to answer your layout question: in 0.5 there is no TabPane anymore. You should replace "Taharezlook/TabPane" by "DefaultWindow".
I also noticed that the file has __auto_ windows which shouldn't be there. That's not the author's fault btw. Can you remove all "<AutoWindow" blocks from the file as well? After that you should be fine!
I am however not sure if this layout will show the tabs. I think they are a "preparation" for the corresponding source code which is earlier in that wiki document.
Good luck
welcome to the forums
to answer your layout question: in 0.5 there is no TabPane anymore. You should replace "Taharezlook/TabPane" by "DefaultWindow".
I also noticed that the file has __auto_ windows which shouldn't be there. That's not the author's fault btw. Can you remove all "<AutoWindow" blocks from the file as well? After that you should be fine!
I am however not sure if this layout will show the tabs. I think they are a "preparation" for the corresponding source code which is earlier in that wiki document.
Good luck
Events
Well, now when I have you online
Ok, so what you are saying is that, dont use tabs right now?
Because they do work with the WindowsLook.
I was fiddling along ok until I got problems with event callbacks (see below) and the fact that I cant use ScrollablePane because they dont save children to file.
Also, Is there a way to get the identities (names) of all events for a widget in lua?
There is a method w:subscribeEvent("ScrollPosChanged", "radiusChangeHandler")
And depending on the type of w, there are different events.
Now I havent found a way to find out what events that are available.
For example Checkbox has a onSelectStateChange, but that doesnt work (nothing happens).
Sorry if this is not the appropriate forum?
Ok, so what you are saying is that, dont use tabs right now?
Because they do work with the WindowsLook.
I was fiddling along ok until I got problems with event callbacks (see below) and the fact that I cant use ScrollablePane because they dont save children to file.
Also, Is there a way to get the identities (names) of all events for a widget in lua?
There is a method w:subscribeEvent("ScrollPosChanged", "radiusChangeHandler")
And depending on the type of w, there are different events.
Now I havent found a way to find out what events that are available.
For example Checkbox has a onSelectStateChange, but that doesnt work (nothing happens).
Sorry if this is not the appropriate forum?
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
You can use tabs, also from the editor. I was talking about the demo layout from the wiki page.
Scrollable pane does not save children, which is a known bug:
http://www.cegui.org.uk/mantis/view.php?id=127
I would not know of the lua question. But cegui widget events can be found in the Static Public Attributes part of the doxygen documentation of each widget. But maybe you mean a dynamic query for them?
HTH.
PS. You might post lua questions in one of the help forums please.
Scrollable pane does not save children, which is a known bug:
http://www.cegui.org.uk/mantis/view.php?id=127
I would not know of the lua question. But cegui widget events can be found in the Static Public Attributes part of the doxygen documentation of each widget. But maybe you mean a dynamic query for them?
HTH.
PS. You might post lua questions in one of the help forums please.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Slicky wrote:I think there's a bug with at least the align width command.-Create a blank layout
-Add two buttons
-Resize the width of the first one
-Select the first and also select the second (to show which you want to be the reference)
-Choose align width
-The second button shoots to the left of the screen and its left and right scale values are messed up
Yes this is a bug, added to mantis:
http://www.cegui.org.uk/mantis/view.php?id=131
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Both aformentioned bugs are fixed in SVN:
http://www.cegui.org.uk/mantis/view.php?id=127
http://www.cegui.org.uk/mantis/view.php?id=131
http://www.cegui.org.uk/mantis/view.php?id=127
http://www.cegui.org.uk/mantis/view.php?id=131
Sjizo wrote:Hi all,
today I decided to try out the layout editor for the first time and after some hassle to get it to work i became instantly fond of using it. It's a nice tool that simplifies life a lot However I have already noticed one thing and have a feature request .
bug: When I set a colour in the editor for text, the text shows in the editor in that colour but when I load the xml in my application the text is just white.
feature request: I noticed that for a static text you can set the colour but for the text of, for example a button, you cannot set the text colour, would be cool if you could set that too.
ps
great job on the editor really like it
I noticed there hasn't been a reply to this. ScriptKid have you read it?
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 1 guest