- Treeview is missing (try resize)
- Resizing fails (moves the splitters wrong, tree seizes wrong, scaling only increases but does not decrease)
- Splitter Gadget fails (can not move any of the splitters)
Kubuntu 17.04
Code: Select all
a.s = ""
a.s + "<?xml version='1.0' ?>"
a.s + "<window name='mainWindow'"
a.s + " minwidth='auto' minheight='auto'"
a.s + " text=\q~21~\q"
a.s + " margin='0'"
a.s + " flags='#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_Invisible'>"
a.s + " <vbox expand=\qitem:2\q>"
a.s + " <singlebox width='10' height='80'>"
a.s + " <!-- Header Image -->"
a.s + " </singlebox>"
a.s + " <singlebox margin=\qleft:15,top:0,right:15,bottom:10\q>"
a.s + " <vbox expand=\qitem:2\q>"
a.s + " <hbox expand=\qitem:2\q>"
a.s + " <hbox expand=\qno\q align=\qleft\q>"
a.s + " <button id=\q1\q name=\qbutInvite\q text=\q~52~\q />"
a.s + ""
a.s + " <button id=\q2\q name=\qbutNewBox\q text=\q~15~\q />"
a.s + " <button id=\q3\q name=\qbutManageBoxes\q text=\q~78~\q />"
a.s + " <button id=\q6\q name=\qbutHistory\q text=\q~350~\q />"
a.s + ""
a.s + " <button id=\q4\q name=\qbutSettings\q text=\q~92~\q />"
a.s + " </hbox>"
a.s + " <empty />"
a.s + " <button id=\q5\q name=\qbutTips\q text=\q?\q />"
a.s + " </hbox>"
a.s + " <splitter name=\qsplitter\q firstmin=\q180\q secondmin=\q500\q flags=\q#PB_Splitter_Vertical\q>"
a.s + " <vbox expand=\qitem:1\q spacing=\q0\q>"
a.s + " <tree name=\qtree\q width=\q160\q height=\q250\q flags=\q#PB_Tree_AlwaysShowSelection\q/>"
a.s + " </vbox>"
a.s + " <vbox expand=\qitem:1\q>"
a.s + " <splitter firstmin=\q100\q secondmin=\q100\q flags=\q\q>"
a.s + " <listicon name=\qfiles\q width=\q500\q height=\q150\q"
a.s + " flags='#PB_ListIcon_AlwaysShowSelection|#PB_ListIcon_HeaderDragDrop|#PB_ListIcon_FullRowSelect|#PB_ListIcon_MultiSelect'/>"
a.s + " <listicon name=\qdetails\q width=\q500\q height=\q100\q"
a.s + " flags='#PB_ListIcon_FullRowSelect'/>"
a.s + " </splitter>"
a.s + " </vbox>"
a.s + " </splitter>"
a.s + " <hbox expand=\qitem:2\q>"
a.s + " <image name=\qimgStatus\q width=\q16\q height=\q16\q />"
a.s + " <text name=\qlblStatus\q text=\q\q flags=\q\q />"
a.s + " <text name=\qlblLegend\q text=\q~170~:\q flags=\q#PB_Text_Right\q />"
a.s + " <text name=\qlblCurrent\q text=\q ~171~ \q flags=\q#PB_Text_Center\q />"
a.s + " <text name=\qlblConflict\q text=\q ~172~ \q flags=\q#PB_Text_Center\q />"
a.s + " <text name=\qlblNormal\q text=\q ~174~ \q flags=\q#PB_Text_Center\q />"
a.s + " <text name=\qlblNotLocal\q text=\q ~173~ \q flags=\q#PB_Text_Center\q />"
a.s + " <empty />"
a.s + " </hbox>"
a.s + " </vbox>"
a.s + " </singlebox>"
a.s + " </vbox>"
a.s + "</window>"
a.s = ReplaceString(a.s, "\q", Chr(34)) ; get quotes back
Debug a.s
If CreateFile(0, GetTemporaryDirectory() + "test.xml")
WriteString(0, a.s)
CloseFile(0)
EndIf
xml.i = LoadXML(#PB_Any, GetTemporaryDirectory() + "test.xml")
d.i = CreateDialog(#PB_Any)
w.i = OpenXMLDialog(d.i, xml.i, "")
HideWindow(DialogWindow(d.i), #False)
Repeat
Event.i = WaitWindowEvent()
Until Event.i = #PB_Event_CloseWindow
Code: Select all
[17:39:15] Warte auf den Start des Executable...
[17:39:15] Executable-Typ: Linux - x64 (64bit, Unicode)
[17:39:15] Executable gestartet.
[17:39:15] [WARNING] Zeile: 69
[17:39:15] [WARNING] Gtk (CRITICAL): gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
[17:39:15] [WARNING] Zeile: 69
[17:39:15] [WARNING] Gtk (WARNING): gtk_widget_size_allocate(): attempt to allocate widget with width 8 and height -30
[17:39:15] [WARNING] Zeile: 69
[17:39:15] [WARNING] Gtk (CRITICAL): gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
[17:39:15] [WARNING] Zeile: 69
[17:39:15] [WARNING] Gtk (WARNING): gtk_widget_size_allocate(): attempt to allocate widget with width 8 and height -30