It is currently Tue Aug 22, 2017 6:34 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Dialog, hbox - expand and align is ignored
PostPosted: Sun Aug 06, 2017 7:49 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Fri Apr 25, 2003 6:41 pm
Posts: 1323
Code:
xml$="<dialogs><window name='MainWindow' text='Hallo dummy' flags='#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_TitleBar'><vbox expand='no'><hbox expand='item:2'><button name='mybutton' text='Hallo' width='200' height='50'/><checkbox name='checkbutton' text='Wasauchimmer'/><checkbox name='checkbutton2' text='Wasauchimmer2'/><checkbox name='checkbutton3' text='Wasauchimmer3'/></hbox><container margin='5' flags='#PB_Container_Single'><hbox><combobox name='combo1' flags='#PB_ComboBox_Editable'/><singlebox><combobox name='combo2'/></singlebox></hbox></container><container name='nothing' margin='2' flags='#PB_Container_Single'><hbox expand='no' align='right'><button name='jk' text='test'/><button name='jk2' text='test'/></hbox></container><hbox expand='item:1'><empty/><hbox expand='equal'><button name='but1' text='OK' flags='#PB_Button_Default'/><button name='but2' text='Cancel'/></hbox></hbox></vbox></window></dialogs>"

CreateXML(0)
Debug ParseXML  (0,xml$)

CreateDialog(1)
OpenXMLDialog(1,0,"MainWindow")
DialogError(1)

Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow

both test-buttons should not expanded and aligned to the right.


Top
 Profile  
Reply with quote  
 Post subject: Re: Dialog, hbox - expand and align is ignored
PostPosted: Sun Aug 06, 2017 7:20 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 146
Location: Germany
On my Linux system it is also wrong:
http://www.purebasic.fr/english/viewtopic.php?f=23&t=68892

_________________
Image

PureBasic-CodeArchiv-Rebirth: Git-Repository / Download -- Any help is welcome!

Manjaro Cinnamon x64 (Main system) :: Windows 7 HP x64 (Dual boot) :: PureBasic (Linux: x64, Windows: x86/x64) :: All are up to date


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye