It is currently Tue Aug 20, 2019 11:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 7:12 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 515
Location: Hell
You mean that didn't happen with previous versions?
Or is it the first time you are using dd?

Can you tell me a little more about your setup?
How many monitors?
Where do you usually want dd to open?

There is a procedure included, which makes sure dd will not open out of sight (for example a disabled monitor, which had been activated the last time).
Until now this worked just fine and I didn't touch this procedure since quite some time.

_________________
Link dead?
Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 7:23 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 9:27 pm
Posts: 200
Location: Kent, UK
Hi HeXOR,

I've got the same problem. Version 1.29 and 1.30 both opened in main window in the same position it was last closed at. 1.32 always opens at 0,0.
If you open 1.32 and close it then open v1.30, v1.30 opens at 0,0 as well but when moved and closed it opens again in the last opened location.

_________________
Regards

Andy

Image
Registered PB & PureVision User


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 7:45 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 515
Location: Hell
O. K. I'll look into it this evening

_________________
Link dead?
Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 8:16 pm 
Offline
User
User

Joined: Wed Apr 18, 2018 8:24 am
Posts: 98
Quote:
You mean that didn't happen with previous versions?
Or is it the first time you are using dd?

It didn't happen with v1.30 or any other version before

Quote:
Can you tell me a little more about your setup?
How many monitors?

A dual monitor setup (with different resolutions)
PB 5.70 LTS and I compiled DD from the sources

Quote:
Where do you usually want dd to open?

In the same way as it was before, from it's last position,
wherever that is (sometimes I move DD to the second monitor
because PB is normally on the first one)


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 8:21 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 515
Location: Hell
Please download it again, seems I have by accident deleted a quite important line of code :oops:

I will not increase the version for such a stupid mistake :twisted:

_________________
Link dead?
Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Tue Jan 08, 2019 8:25 pm 
Offline
User
User

Joined: Wed Apr 18, 2018 8:24 am
Posts: 98
Works again, thanks for the quick fix!


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.32
PostPosted: Wed Jan 09, 2019 9:31 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 9:27 pm
Posts: 200
Location: Kent, UK
Working here too. Thanks.

Regards

Andy

_________________
Regards

Andy

Image
Registered PB & PureVision User


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.45
PostPosted: Sat Jan 26, 2019 12:41 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 515
Location: Hell
Update V1.45!

  • Fixed a few panel related thing
  • Added possibility to automatically let DD open the last used Dialog


Update V1.43!

  • Fixed the option item
  • Changed the order of the phrases in the "translate.txt" file to make it easier to read/use.


Update V1.42!

  • Fixed quite some bugs from V1.40
  • Added multilanguage support.
    Use the "translate.txt" file, translate it and save it as "yourlanguage.lan"
    You can also send this to me, and I will officially add it.


Update V1.40!

This is a huge update, and I've added/fixed a few things which have been since quite a while on my todo list.
Most likely I also introduced a few new bugs.
Just let me know and I will try to fix them.

  • Containers can now easily be replaced (rightclick... switch container)
    This has been requested
  • Added a cut option
  • Added some keyboard shortcuts (e.g. CTRL+C, CTRL+V, CTRL+X, F5 = Show all Dialogs, F6 = Hide all Dialogs)
  • Added a preference window and moved the configuration settings to this window (e.g. refresh time, comment settings, update button, ...)
  • All dialogs will now remember their last positions/sizes
  • Drag'n Drop can now be used to copy OR move items inside the tree.
    (no key for copying, shift key for moving)
  • Fixed Drag'n Drop for Linux (GTK only!, Need help for the QT subsystem, see Source at the beginning)
  • Improved flickering issue under Windows
  • Fixed: set columns of a gridbox to 0 will let DD crash
  • "Save xml to file" can now be set dialog dependant.
    I recognized, that I sometimes want the dialog to be saved into a source code file, and sometimes not.
    If you select the "dialog" item now in the tree, you will see the options, to store the xml in an additional source code file.
    In the preferences window, you can set the default values (which will be used, when a new dialog is created)
  • Some bug fixes

Get it from -here-

_________________
Link dead?
Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.45
PostPosted: Mon Mar 04, 2019 7:38 am 
Offline
User
User

Joined: Wed Apr 18, 2018 8:24 am
Posts: 98
One small question regarding generated buttons:

Code:
<?xml version="1.0" encoding="UTF-8"?>

<dialogs>
  <window flags="#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered" text="Test" name="Test">
    <vbox spacing="10" expand="item:1">
      <hbox spacing="10" expand="item:1" width="400">
        <vbox width="120" align="" expand="no">
          <text text="Menu name:"/>
          <string text="Open in new Tag"/>
        </vbox>
        <vbox width="155" align="" expand="no">
          <text text="Hide on:"/>
          <string text="!{#isFolder}"/>
        </vbox>
      </hbox>
      <hbox spacing="10" expand="item:1">
        <vbox width="120" align="" expand="no">
          <text text="Icon name / path:"/>
          <hbox spacing="10" width="120" expand="item:1">
            <string text="icon"/>
            <button text="..."/>
          </hbox>
        </vbox>
        <vbox width="155" align="" expand="no">
          <text text="Disable on:"/>
          <string text="disable"/>
        </vbox>
      </hbox>
    </vbox>
  </window>
</dialogs><!--DDesign0R Definition: PureBasic|0|0-->


When I use this on a Windows machine the string gadget to the left of the button
has the same height of the button and is therefore higher than the other 3 string gadgets.
Whatever I do, I can't reduce the height of the button below 25 px. I know this is the
minimum height on MacOS but it seems it's also the case with Windows. Can I redesign
this dialog so that the string gadget left to the button
has the same height as all the others but the button stays in that same position (even
if I can't make it smaller itself)?


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.45
PostPosted: Mon Mar 04, 2019 8:20 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2011 3:47 am
Posts: 2213
Location: Singapore
forumuser wrote:
...redesign this dialog so that the string gadget left to the button has the same height as all the others but the button stays in that same position (even if I can't make it smaller itself)?
Code:
XML$ = "<dialogs>" +
       "<window flags='#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget |" +
       "#PB_Window_SizeGadget | #PB_Window_ScreenCentered' text='Test' name='Test'>" +
       "<vbox spacing='10' expand='item:1'>" +
       "<hbox spacing='10' expand='item:1' width='400'>" +
       "<vbox width='120' align='' expand='no'>" +
       "<text text='Menu name:'/>" +
       "<string text='Open in new Tag'/>" +
       "</vbox>" +
       "<vbox width='155' align='' expand='no'>" +
       "<text text='Hide on:'/>" +
       "<string text='!{#isFolder}'/>" +
       "</vbox>" +
       "</hbox>" +
       "<hbox spacing='10' expand='item:1'>" +
       "<vbox width='120' align='' expand='no'>" +
       "<text text='Icon name / path:'/>" +
       "<hbox spacing='10' width='120' expand='item:1'>" +
       "<string id='6' text='icon'/>" +
       "<button id='7' text='...'/>" +
       "</hbox>" +
       "</vbox>" +
       "<vbox width='155' align='' expand='no'>" +
       "<text text='Disable on:'/>" +
       "<string text='disable'/>" +
       "</vbox>" +
       "</hbox>" +
       "</vbox>" +
       "</window>" +
       "</dialogs>"

If CatchXML(0, @XML$, StringByteLength(XML$)) And XMLStatus(0) = #PB_XML_Success
  If CreateDialog(0) And OpenXMLDialog(0, 0, "test")
   
    ResizeGadget(6, #PB_Ignore, #PB_Ignore, #PB_Ignore, 20)
    ResizeGadget(7, #PB_Ignore, #PB_Ignore, #PB_Ignore, 20)
   
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow     
  EndIf
EndIf

_________________
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.45
PostPosted: Mon Mar 04, 2019 10:57 am 
Offline
User
User

Joined: Wed Apr 18, 2018 8:24 am
Posts: 98
@TI-994A

Thank you, I thought that this could be solved inside the xml but resizing works as well ofc^^


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.45
PostPosted: Mon Mar 04, 2019 12:28 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2011 3:47 am
Posts: 2213
Location: Singapore
forumuser wrote:
...I thought that this could be solved inside the xml...
Code:
XML$ = "<dialogs>" +
       "<window flags='#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget |" +
       "#PB_Window_SizeGadget | #PB_Window_ScreenCentered' text='Test' name='Test'>" +
       "<vbox spacing='10' expand='item:1'>" +
       "<hbox spacing='10' expand='item:1' width='400'>" +
       "<vbox width='120' align='' expand='no'>" +
       "<text text='Menu name:'/>" +
       "<string text='Open in new Tag'/>" +
       "</vbox>" +
       "<vbox width='155' align='' expand='no'>" +
       "<text text='Hide on:'/>" +
       "<string text='!{#isFolder}'/>" +
       "</vbox>" +
       "</hbox>" +
       "<hbox spacing='10' expand='item:1'>" +
       "<vbox width='120' align='' expand='no'>" +
       "<text text='Icon name / path:'/>" +
       "<string text='icon'/>" +
       "</vbox>" +       
       "<vbox expand='no'>" +
       "<text height='15' text=''/>" +
       "<button text='...'/>" +
       "</vbox>" +
       "<vbox width='155' align='' expand='no'>" +
       "<text text='Disable on:'/>" +
       "<string text='disable'/>" +
       "</vbox>" +
       "</hbox>" +
       "</vbox>" +
       "</window>" +
       "</dialogs>"

If CatchXML(0, @XML$, StringByteLength(XML$)) And XMLStatus(0) = #PB_XML_Success
  If CreateDialog(0) And OpenXMLDialog(0, 0, "test")
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow     
  EndIf
EndIf

_________________
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.46
PostPosted: Sun Mar 10, 2019 2:53 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 515
Location: Hell
Update V1.46

  • Fixed disappearing imagebuttons
  • Removed trailing spaces in XML
  • Update Check now works asynchronous, to prevent DD from being blocked for a while, when online-URL is unreachable

Download as usual from here.

_________________
Link dead?
Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.46
PostPosted: Sun Mar 10, 2019 7:54 pm 
Offline
User
User

Joined: Wed Apr 18, 2018 8:24 am
Posts: 98
Thank you HexOR for fixing both of these bugs!


Top
 Profile  
Reply with quote  
 Post subject: Re: DialogDesign0R V1.46
PostPosted: Sat May 04, 2019 10:35 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Sep 18, 2013 11:54 am
Posts: 353
Location: France
Amazing tool, thanks! Now the PB form editor is really useless :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


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