1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-08-13 16:53:59 -04:00

made the colourhistory form nice :) (aka constraints etc fixed for sexy resizing)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@235 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
Markus 2009-11-23 21:59:40 +00:00
parent 2682acc57f
commit 9937ac49eb
2 changed files with 37 additions and 20 deletions

View File

@ -1,5 +1,5 @@
object ColourHistoryForm: TColourHistoryForm
Left = 401
Left = 403
Height = 250
Top = 344
Width = 489
@ -7,6 +7,8 @@ object ColourHistoryForm: TColourHistoryForm
Caption = 'Colour Picker History'
ClientHeight = 250
ClientWidth = 489
Constraints.MinHeight = 200
Constraints.MinWidth = 200
OnHide = UnSetCHShowMenu
OnShow = SetCHShowMenu
LCLVersion = '0.9.29'
@ -15,6 +17,7 @@ object ColourHistoryForm: TColourHistoryForm
Height = 176
Top = 16
Width = 328
Anchors = [akTop, akLeft, akRight, akBottom]
Columns = <>
TabOrder = 0
OnSelectItem = ChangeViewData
@ -24,6 +27,7 @@ object ColourHistoryForm: TColourHistoryForm
Height = 25
Top = 208
Width = 128
Anchors = [akLeft, akBottom]
Caption = 'Delete'
OnClick = DeleteSelected
TabOrder = 1
@ -33,6 +37,7 @@ object ColourHistoryForm: TColourHistoryForm
Height = 21
Top = 16
Width = 112
Anchors = [akTop, akRight]
OnChange = ChangeName
OnKeyPress = SelectionNameKeyPress
TabOrder = 2
@ -43,6 +48,7 @@ object ColourHistoryForm: TColourHistoryForm
Height = 25
Top = 208
Width = 128
Anchors = [akRight, akBottom]
Caption = 'Pick New Colour'
TabOrder = 3
end
@ -51,6 +57,7 @@ object ColourHistoryForm: TColourHistoryForm
Height = 21
Top = 56
Width = 112
Anchors = [akTop, akRight]
ReadOnly = True
TabOrder = 4
Text = 'ColourValue'
@ -59,8 +66,10 @@ object ColourHistoryForm: TColourHistoryForm
Left = 360
Height = 14
Top = 96
Width = 56
Width = 112
Anchors = [akTop, akRight]
Caption = 'CoordValue'
Constraints.MinWidth = 112
ParentColor = False
end
object ColourImage: TImage
@ -68,12 +77,14 @@ object ColourHistoryForm: TColourHistoryForm
Height = 24
Top = 209
Width = 56
Anchors = [akLeft, akRight, akBottom]
end
object OkButton: TButton
Left = 392
Height = 24
Top = 209
Width = 80
Anchors = [akRight, akBottom]
Caption = 'Ok'
OnClick = OkButtonClick
TabOrder = 5

View File

@ -1,24 +1,30 @@
{ This is an automatically generated lazarus resource file }
LazarusResources.Add('TColourHistoryForm','FORMDATA',[
'TPF0'#18'TColourHistoryForm'#17'ColourHistoryForm'#4'Left'#3#145#1#6'Height'
'TPF0'#18'TColourHistoryForm'#17'ColourHistoryForm'#4'Left'#3#147#1#6'Height'
+#3#250#0#3'Top'#3'X'#1#5'Width'#3#233#1#13'ActiveControl'#7#13'SelectionName'
+#7'Caption'#6#21'Colour Picker History'#12'ClientHeight'#3#250#0#11'ClientWi'
+'dth'#3#233#1#6'OnHide'#7#15'UnSetCHShowMenu'#6'OnShow'#7#13'SetCHShowMenu'
+#10'LCLVersion'#6#6'0.9.29'#0#9'TListView'#10'ColourList'#4'Left'#2#16#6'Hei'
+'ght'#3#176#0#3'Top'#2#16#5'Width'#3'H'#1#7'Columns'#14#0#8'TabOrder'#2#0#12
+'OnSelectItem'#7#14'ChangeViewData'#0#0#7'TButton'#12'DeleteButton'#4'Left'#2
+#16#6'Height'#2#25#3'Top'#3#208#0#5'Width'#3#128#0#7'Caption'#6#6'Delete'#7
+'OnClick'#7#14'DeleteSelected'#8'TabOrder'#2#1#0#0#5'TEdit'#13'SelectionName'
+#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2#16#5'Width'#2'p'#8'OnChange'#7#10'Ch'
+'angeName'#10'OnKeyPress'#7#21'SelectionNameKeyPress'#8'TabOrder'#2#2#4'Text'
+#6#4'Name'#0#0#7'TButton'#19'PickNewColourButton'#4'Left'#3#216#0#6'Height'#2
+#25#3'Top'#3#208#0#5'Width'#3#128#0#7'Caption'#6#15'Pick New Colour'#8'TabOr'
+'der'#2#3#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2
+'8'#5'Width'#2'p'#8'ReadOnly'#9#8'TabOrder'#2#4#4'Text'#6#11'ColourValue'#0#0
+#6'TLabel'#10'CoordValue'#4'Left'#3'h'#1#6'Height'#2#14#3'Top'#2'`'#5'Width'
+#2'8'#7'Caption'#6#10'CoordValue'#11'ParentColor'#8#0#0#6'TImage'#11'ColourI'
+'mage'#4'Left'#3#152#0#6'Height'#2#24#3'Top'#3#209#0#5'Width'#2'8'#0#0#7'TBu'
+'tton'#8'OkButton'#4'Left'#3#136#1#6'Height'#2#24#3'Top'#3#209#0#5'Width'#2
+'P'#7'Caption'#6#2'Ok'#7'OnClick'#7#13'OkButtonClick'#8'TabOrder'#2#5#0#0#0
+'dth'#3#233#1#21'Constraints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3
+#200#0#6'OnHide'#7#15'UnSetCHShowMenu'#6'OnShow'#7#13'SetCHShowMenu'#10'LCLV'
+'ersion'#6#6'0.9.29'#0#9'TListView'#10'ColourList'#4'Left'#2#16#6'Height'#3
+#176#0#3'Top'#2#16#5'Width'#3'H'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRigh'
+'t'#8'akBottom'#0#7'Columns'#14#0#8'TabOrder'#2#0#12'OnSelectItem'#7#14'Chan'
+'geViewData'#0#0#7'TButton'#12'DeleteButton'#4'Left'#2#16#6'Height'#2#25#3'T'
+'op'#3#208#0#5'Width'#3#128#0#7'Anchors'#11#6'akLeft'#8'akBottom'#0#7'Captio'
+'n'#6#6'Delete'#7'OnClick'#7#14'DeleteSelected'#8'TabOrder'#2#1#0#0#5'TEdit'
+#13'SelectionName'#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2#16#5'Width'#2'p'#7
+'Anchors'#11#5'akTop'#7'akRight'#0#8'OnChange'#7#10'ChangeName'#10'OnKeyPres'
+'s'#7#21'SelectionNameKeyPress'#8'TabOrder'#2#2#4'Text'#6#4'Name'#0#0#7'TBut'
+'ton'#19'PickNewColourButton'#4'Left'#3#216#0#6'Height'#2#25#3'Top'#3#208#0#5
+'Width'#3#128#0#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#15'Pick '
+'New Colour'#8'TabOrder'#2#3#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'h'#1#6'H'
+'eight'#2#21#3'Top'#2'8'#5'Width'#2'p'#7'Anchors'#11#5'akTop'#7'akRight'#0#8
+'ReadOnly'#9#8'TabOrder'#2#4#4'Text'#6#11'ColourValue'#0#0#6'TLabel'#10'Coor'
+'dValue'#4'Left'#3'h'#1#6'Height'#2#14#3'Top'#2'`'#5'Width'#2'p'#7'Anchors'
+#11#5'akTop'#7'akRight'#0#7'Caption'#6#10'CoordValue'#20'Constraints.MinWidt'
+'h'#2'p'#11'ParentColor'#8#0#0#6'TImage'#11'ColourImage'#4'Left'#3#152#0#6'H'
+'eight'#2#24#3'Top'#3#209#0#5'Width'#2'8'#7'Anchors'#11#6'akLeft'#7'akRight'
+#8'akBottom'#0#0#0#7'TButton'#8'OkButton'#4'Left'#3#136#1#6'Height'#2#24#3'T'
+'op'#3#209#0#5'Width'#2'P'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'
+#6#2'Ok'#7'OnClick'#7#13'OkButtonClick'#8'TabOrder'#2#5#0#0#0
]);