[haiku] Deskbar replicant size

  • From: Rimas Kudelis <rq@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Wed, 30 Nov 2011 12:26:32 +0200


does anyone here know for sure the maximum size of a replicant that the
Deskbar would accept?

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.


Other related posts:

  • » [haiku] Deskbar replicant size - Rimas Kudelis