IDE / formdesigner: There is a small display problem in the assignment dialog for setting a parent object. At least for the german version of PB.

Greetings
Kurzer
Code: Select all
Runtime Enumeration Window
#WINDOW_Form_Parent
EndEnumeration
Runtime Enumeration Gadget
#GADGET_Form_Parent_Select
#GADGET_Form_Parent_SelectItem
#GADGET_Form_Parent_Cancel
#GADGET_Form_Parent_OK
EndEnumeration
XML$ = "<?xml version='1.0' encoding='UTF-8'?>" +
"<dialogs>" +
" <window flags='#PB_Window_SystemMenu | #PB_Window_ScreenCentered' text='Übergeordnet' id='#WINDOW_Form_Parent'>" +
" <vbox spacing='10'>" +
" <empty/>" +
" <gridbox colspacing='15' rowspacing='15' columns='4'>" +
" <empty/>" +
" <text text='Übergeordnet' flags='#PB_Text_Right'/>" +
" <combobox height='22' width='250' id='#GADGET_Form_Parent_Select'/>" +
" <empty/>" +
" <empty/>" +
" <text text='Übergeordnetes Element' flags='#PB_Text_Right'/>" +
" <combobox height='22' width='250' id='#GADGET_Form_Parent_SelectItem'/>" +
" <empty/>" +
" </gridbox>" +
" <empty/>" +
" <hbox>" +
" <empty/>" +
" <button text='Abbruch' id='#GADGET_Form_Parent_Cancel'/>" +
" <button text='OK' id='#GADGET_Form_Parent_OK'/>" +
" <empty/>" +
" </hbox>" +
" <empty/>" +
" </vbox>" +
" </window>" +
"</dialogs>"
If ParseXML(0, XML$) And XMLStatus(0) = #PB_XML_Success
If CreateDialog(0) And OpenXMLDialog(0, 0, "")
For i = 0 To 2
AddGadgetItem(#GADGET_Form_Parent_Select, -1, "Select_" + i)
AddGadgetItem(#GADGET_Form_Parent_SelectItem, -1, "SelectItem_" + i)
Next
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
Else
Debug "Dialog error: " + DialogError(0)
EndIf
Else
Debug "XML error: " + XMLError(0) + " (Line: " + XMLErrorLine(0) + ")"
EndIf
Greetings,- Fix display errors in window '#WINDOW_Form_Parent' of the FormDesigner (Sicro) https://github.com/fantaisie-software/purebasic/pull/50
I have not yet found the time to integrate the Dialog-Lib variant. Tomorrow I will have time for it.kurzer wrote:In the current beta 3, the dialogue unfortunately looks worse again.
The mentioned pull request on GitHub is old and has already been integrated in Beta 2.kurzer wrote:According to the beta 3 announcement this bug should be fixed:- Fix display errors in window '#WINDOW_Form_Parent' of the FormDesigner (Sicro) https://github.com/fantaisie-software/purebasic/pull/50
Oh okay, thank you for clarify this.Sicro wrote:The mentioned pull request on GitHub is old and has already been integrated in Beta 2.
The work is in progress. More off-topic via PN, please.kurzer wrote:By the way: Do you know if the proposal on GitHub to make the PureBasic IDE independent from the necessary C compilations is already being worked on?
I haven't followed it up.