Recent

Author Topic: Gui designer  (Read 4167 times)

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Gui designer
« on: August 17, 2012, 05:19:11 am »
i get tired from th egui designer  , it is too difficult for me (new lazarus user) to build my application forms in the lazarus way
i have seen this
http://wiki.lazarus.freepascal.org/Autosize_/_Layout

but the way i used to make it in Qt designer was great see how Qt do it

http://www.youtube.com/watch?v=Se3FWFR2Zxk&feature=plcp

i need an easy way please to set the layout of my form , and group the childs to make autosizing the parent form doesn't miss all the children
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Gui designer
« Reply #1 on: August 17, 2012, 08:24:04 am »
That could work fine in Qt because it is a backend toolkit. Remember that LCL serves as a wrapper of a lot of backends and therefore need to adapt to all of them, the LCL way is indeed to use the autosizing / layout which is very flexible. What difficulties are you facing? It's indeed complicated, but you don't need to understand all of them, simply pick the ones you need. I simply use AutoSize := true on almost all controls and anchors them according to my needs, perhaps using ChildSizing for grouping controls (e.g. TGroupBox) and that's all.

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Re: Gui designer
« Reply #2 on: August 17, 2012, 09:12:09 am »
so that is the reason for making it like this , i think i had to do more pracice till i get what i need
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

 

TinyPortal © 2005-2018