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?

S.

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to