On Thu, 18 Aug 2011 08:51:23 +0200 Sebastian Dransfeld <[email protected]> said:
> On 08/18/2011 08:17 AM, Carsten Haitzler (The Rasterman) wrote: > > On Thu, 18 Aug 2011 01:14:22 +0200 Nicolas > > Aguirre<[email protected]> said: > > > >> Hi, > >> > >> I'm trying to create a simple dialog window. Just a dialog which > >> contains a label, an entry and a button bar with ok and cancel. That's > >> seems so simple to do, but i can't do it. The solution must be simple, > >> but i can't find it. > >> I made a simple test program [test1.c attached], With a main window > >> and a button. When you click on this button, the dilaog box is > >> launched. > >> > >> * First problem, when i run it on e17, the dialog box is not centered, > >> i don't know if it should be, but i always seen dialog boxes centered > >> on his parent. > > > > this is partly an e17 and partly an elementary problem. > > > > most toolkits EXPLICITLY place their dialog boxes and try place them > > centered over the parent win. elementary doesnt try. e17 also has no logic > > to handle an "unplaced" dialog and auto place it centered over the > > parentwindow. > > Doesn't netwm dialog windows get centered? i don't actually remember. i know most toolkits (gtk etc.) try and center their own dialogs. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
