Le 30/11/2011 11:26, Rimas Kudelis a écrit : > Hello, > Question should go to haiku-development, redirecting. (please CC him on reply) > does anyone here know for sure the maximum size of a replicant that the > Deskbar would accept? > Not that I know of. > I wrote a patch for Workspaces, which allows convenient placing its > replicant in Deskbar Shelf. However, it looks like adding a replicant > that is too wide freezes Deskbar. I was wondering if that maximum is > specified in the code somewhere or whether I should just hardcode the > maximum values that will work for me. > > If those maximum dimensions are not clearly specified anywhere in the > code, I would suggest to do so, so that instead of hardcoding 15x128 or > something as the maximum values, I could use a predefined variable or > call some function to get the exact maximum values in that particular > version/installation of Haiku. This may be useful in future. Ideally those should use layout management though I suppose... François.