[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
PAINTAREA snap feature  XML
Forum Index -> Development
Author Message
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Hello,

I have a complex gui - design scenario.

A PAINTAREA includes some PAINTAREAITEMs for controls like fields, labels, buttons and so on. The controls may be arranged by the user with the mouse.

Now I want to integrate TABBEDLINECONTAINERS, so they can be used for arranging controls inside them. I made a manual construction in the EC designer tool - see the screenshot. The user may drag & drop the label inside the first TABBEDLINECONTAINERTAB.

The outer PAINTAREA supports SnapLines. This functionality is broken as I nead a new PAINTAREA inside the TABBEDLINECONTAINERTAB.

Is there another solution - for example having PAINTAREAITEMS inside TABBEDLINECONTAINERTABs ??

Regards,
Joachim
 Filename ss1.JPG [Disk] Download
 Description
 Filesize 36 Kbytes
 Downloaded:  0 time(s)

 Filename TestPageUI.java [Disk] Download
 Description
 Filesize 3 Kbytes
 Downloaded:  345 time(s)

CaptainCasa

Power User
[Avatar]

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

HI,

you can of course have a PAINTAREA(ITEM) inside a TABBEDPANE(TAB):

Code:
 TABEBDPANE
     TABBEDPANETAB
         ROW
             PAINTAREA
                 PAINTAREAITEM
 


Regards, Björn

Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Björn,


Code:
 PAINTAREA <- parent with snap grid
  PAINTAREAITEM 
   TABEBDPANE
    TABBEDPANETAB
     ROW
      PAINTAREA <- This paint area should inherit the snap grid from above
       PAINTAREAITEM
 


I won't define a new snap grid because it would have an offset.

Is there a simple solution?

Regards,
Joachim
CaptainCasa

Power User
[Avatar]

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

Hi,

if you define a new PAINTAREA within an other PAINTAREA (here with some TABBEDPANE in between) then of course the inner PAINTAREA-snapping is independent from the outer PAINTAREA snapping.

This is the way it must work!... - each component is an independent instance.

Regards, Björn

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