Jump to content

TUniGroupBox pozisyon sorunu


aliemre

Recommended Posts

Merhaba,

 

Aşağıdaki dfm ile programı çalıştırdığınızda sizde göreceksiniz ki VCL tarafında normal görünüyorken, web tarafında editler üst üste binecek.

 

Biz web tarafında tasarım yapıyoruz ve web tarafında TUniGroupBox ın içine bırakılan bir edit in top pozisyon değeri 15 ve altında bir değer olduğunda bu sorun hep oluyor. 

 

Özetle web tarafında legend için ayrılan yükseklik örneğin 15px ve content ayrı bir gövde fakat vcl tarafında legend ile content birleşik. Bu durumda da pozisyon hatasına sebep oluyor.

 

Bunu çözmenin bir yolu var mı ?

 

Teşekkürler.

object MainForm: TMainForm
  Left = 0
  Top = 0
  ClientHeight = 474
  ClientWidth = 855
  Caption = ''
  OldCreateOrder = False
  MonitoredKeys.Keys = <>
  PixelsPerInch = 96
  TextHeight = 13
  object UniGroupBox1: TUniGroupBox
    Left = 24
    Top = 40
    Width = 377
    Height = 265
    Hint = ''
    Caption = 'UniGroupBox1'
    TabOrder = 0
    object UniEdit1: TUniEdit
      Left = 0
      Top = 0
      Width = 121
      Hint = ''
      Text = 'UniEdit1'
      TabOrder = 1
    end
    object UniEdit2: TUniEdit
      Left = 0
      Top = 28
      Width = 225
      Hint = ''
      Text = 'UniEdit2'
      TabOrder = 2
    end
  end
end

post-5660-0-40439200-1513319530_thumb.png

post-5660-0-92574100-1513319538_thumb.png

  • Upvote 1
Link to comment
Share on other sites

We are designing all forms on client side by browser. For example developer dragging editbox to top 2px position, everything's normal on the browser but close the form and after open/rendering then edits look like attachment pictures. Because VCL groupbox content positions/pixels not same with extjs groupbox (legend) object.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...