tests/traffic_lights/beremiz.xml
author |
Andrey Skvortsov <andrej.skvortzov@gmail.com> |
|
Mon, 30 Jul 2018 19:02:36 +0300 |
changeset 2255 |
f6a0508fa473 |
parent 2231 |
7d87a0f98345
|
permissions |
-rw-r--r-- |
Fix problem with decreasing size of StatusToolBar when tools are removed from toolbar.
StatusToolBar - toolbar with tool to build, clear, connect, ...
This problem appears only in python-wxgtk3.0. In python-wxgtk2.8 there
was not such problem.
If call StatusToolBar.SetMinSize(wx.DefaultSize), all is working, but
following warning message appears:
(Beremiz.py:15155): Gtk-WARNING **: 18:42:24.115: Negative content
width -6 (allocation 1, extents 4x3) while allocating gadget (node
toolbar, owner GtkToolbar)
To avoid that StatusToolBar.GetToolBitmapSize() is used instead of wx.DefaultSize
1383
|
1 |
<?xml version='1.0' encoding='utf-8'?>
|
|
2 |
<BeremizRoot URI_location="LOCAL://">
|
|
3 |
<TargetType/>
|
2231
7d87a0f98345
Explicitly enable required libraries in test projects
Andrey Skvortsov <andrej.skvortzov@gmail.com>
diff
changeset
|
4 |
<Libraries Enable_SVGUI_Library="true" Enable_Python_Library="true"/>
|
1383
|
5 |
</BeremizRoot>
|