[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
strange behaviour of coldistance element  XML
Forum Index -> Development
Author Message
foedeles

Active

Joined: 14/04/2008 13:10:31
Messages: 19
Offline

strange behaviour of "coldistance; width:...%"


In the rowheader-area I have different button-elements.
Between the most left button and and some buttons in the center,
I placed a "coldistance-element-> width:50%",
so I did with the most left button and those buttons, which
I wanted to keep centered.
The effect of this strategy is that all button-elements in the rowheader-area are
invisible when I switch to the page which
contains these elements (from the LogOnPage),
not until I set the focus by klicking an item in the outlookbar.
When I set the width of the coldistance-elements absolute,
that means not with % than they are visible after switching to the page.

What I'm doing wrong?
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi,
the internal reason is:

The ROWTITLEBAR is a compound component, i.e. it is assembled itself out of othet CaptainCasa Components. The assembly is something like

row
titlebartext
coldistance=100%
...your components...

I.e. in the row in which your components are placed, there is already a 100% coldistance "on the left". You can add pixel-defined distances, but not % instances as consequence.

The typical titlebar is: text on the left, component on the right. So, that's where we come freom ...

Björn


Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team