mirror of
https://github.com/moparisthebest/Simba
synced 2024-12-24 08:18:52 -05: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:
parent
2682acc57f
commit
9937ac49eb
@ -1,5 +1,5 @@
|
|||||||
object ColourHistoryForm: TColourHistoryForm
|
object ColourHistoryForm: TColourHistoryForm
|
||||||
Left = 401
|
Left = 403
|
||||||
Height = 250
|
Height = 250
|
||||||
Top = 344
|
Top = 344
|
||||||
Width = 489
|
Width = 489
|
||||||
@ -7,6 +7,8 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Caption = 'Colour Picker History'
|
Caption = 'Colour Picker History'
|
||||||
ClientHeight = 250
|
ClientHeight = 250
|
||||||
ClientWidth = 489
|
ClientWidth = 489
|
||||||
|
Constraints.MinHeight = 200
|
||||||
|
Constraints.MinWidth = 200
|
||||||
OnHide = UnSetCHShowMenu
|
OnHide = UnSetCHShowMenu
|
||||||
OnShow = SetCHShowMenu
|
OnShow = SetCHShowMenu
|
||||||
LCLVersion = '0.9.29'
|
LCLVersion = '0.9.29'
|
||||||
@ -15,6 +17,7 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 176
|
Height = 176
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 328
|
Width = 328
|
||||||
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
Columns = <>
|
Columns = <>
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
OnSelectItem = ChangeViewData
|
OnSelectItem = ChangeViewData
|
||||||
@ -24,6 +27,7 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 25
|
Height = 25
|
||||||
Top = 208
|
Top = 208
|
||||||
Width = 128
|
Width = 128
|
||||||
|
Anchors = [akLeft, akBottom]
|
||||||
Caption = 'Delete'
|
Caption = 'Delete'
|
||||||
OnClick = DeleteSelected
|
OnClick = DeleteSelected
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
@ -33,6 +37,7 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 21
|
Height = 21
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 112
|
Width = 112
|
||||||
|
Anchors = [akTop, akRight]
|
||||||
OnChange = ChangeName
|
OnChange = ChangeName
|
||||||
OnKeyPress = SelectionNameKeyPress
|
OnKeyPress = SelectionNameKeyPress
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
@ -43,6 +48,7 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 25
|
Height = 25
|
||||||
Top = 208
|
Top = 208
|
||||||
Width = 128
|
Width = 128
|
||||||
|
Anchors = [akRight, akBottom]
|
||||||
Caption = 'Pick New Colour'
|
Caption = 'Pick New Colour'
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
end
|
end
|
||||||
@ -51,6 +57,7 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 21
|
Height = 21
|
||||||
Top = 56
|
Top = 56
|
||||||
Width = 112
|
Width = 112
|
||||||
|
Anchors = [akTop, akRight]
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
Text = 'ColourValue'
|
Text = 'ColourValue'
|
||||||
@ -59,8 +66,10 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Left = 360
|
Left = 360
|
||||||
Height = 14
|
Height = 14
|
||||||
Top = 96
|
Top = 96
|
||||||
Width = 56
|
Width = 112
|
||||||
|
Anchors = [akTop, akRight]
|
||||||
Caption = 'CoordValue'
|
Caption = 'CoordValue'
|
||||||
|
Constraints.MinWidth = 112
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object ColourImage: TImage
|
object ColourImage: TImage
|
||||||
@ -68,12 +77,14 @@ object ColourHistoryForm: TColourHistoryForm
|
|||||||
Height = 24
|
Height = 24
|
||||||
Top = 209
|
Top = 209
|
||||||
Width = 56
|
Width = 56
|
||||||
|
Anchors = [akLeft, akRight, akBottom]
|
||||||
end
|
end
|
||||||
object OkButton: TButton
|
object OkButton: TButton
|
||||||
Left = 392
|
Left = 392
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 209
|
Top = 209
|
||||||
Width = 80
|
Width = 80
|
||||||
|
Anchors = [akRight, akBottom]
|
||||||
Caption = 'Ok'
|
Caption = 'Ok'
|
||||||
OnClick = OkButtonClick
|
OnClick = OkButtonClick
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
|
@ -1,24 +1,30 @@
|
|||||||
{ This is an automatically generated lazarus resource file }
|
{ This is an automatically generated lazarus resource file }
|
||||||
|
|
||||||
LazarusResources.Add('TColourHistoryForm','FORMDATA',[
|
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'
|
+#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'
|
+#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'
|
+'dth'#3#233#1#21'Constraints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3
|
||||||
+#10'LCLVersion'#6#6'0.9.29'#0#9'TListView'#10'ColourList'#4'Left'#2#16#6'Hei'
|
+#200#0#6'OnHide'#7#15'UnSetCHShowMenu'#6'OnShow'#7#13'SetCHShowMenu'#10'LCLV'
|
||||||
+'ght'#3#176#0#3'Top'#2#16#5'Width'#3'H'#1#7'Columns'#14#0#8'TabOrder'#2#0#12
|
+'ersion'#6#6'0.9.29'#0#9'TListView'#10'ColourList'#4'Left'#2#16#6'Height'#3
|
||||||
+'OnSelectItem'#7#14'ChangeViewData'#0#0#7'TButton'#12'DeleteButton'#4'Left'#2
|
+#176#0#3'Top'#2#16#5'Width'#3'H'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRigh'
|
||||||
+#16#6'Height'#2#25#3'Top'#3#208#0#5'Width'#3#128#0#7'Caption'#6#6'Delete'#7
|
+'t'#8'akBottom'#0#7'Columns'#14#0#8'TabOrder'#2#0#12'OnSelectItem'#7#14'Chan'
|
||||||
+'OnClick'#7#14'DeleteSelected'#8'TabOrder'#2#1#0#0#5'TEdit'#13'SelectionName'
|
+'geViewData'#0#0#7'TButton'#12'DeleteButton'#4'Left'#2#16#6'Height'#2#25#3'T'
|
||||||
+#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2#16#5'Width'#2'p'#8'OnChange'#7#10'Ch'
|
+'op'#3#208#0#5'Width'#3#128#0#7'Anchors'#11#6'akLeft'#8'akBottom'#0#7'Captio'
|
||||||
+'angeName'#10'OnKeyPress'#7#21'SelectionNameKeyPress'#8'TabOrder'#2#2#4'Text'
|
+'n'#6#6'Delete'#7'OnClick'#7#14'DeleteSelected'#8'TabOrder'#2#1#0#0#5'TEdit'
|
||||||
+#6#4'Name'#0#0#7'TButton'#19'PickNewColourButton'#4'Left'#3#216#0#6'Height'#2
|
+#13'SelectionName'#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2#16#5'Width'#2'p'#7
|
||||||
+#25#3'Top'#3#208#0#5'Width'#3#128#0#7'Caption'#6#15'Pick New Colour'#8'TabOr'
|
+'Anchors'#11#5'akTop'#7'akRight'#0#8'OnChange'#7#10'ChangeName'#10'OnKeyPres'
|
||||||
+'der'#2#3#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'h'#1#6'Height'#2#21#3'Top'#2
|
+'s'#7#21'SelectionNameKeyPress'#8'TabOrder'#2#2#4'Text'#6#4'Name'#0#0#7'TBut'
|
||||||
+'8'#5'Width'#2'p'#8'ReadOnly'#9#8'TabOrder'#2#4#4'Text'#6#11'ColourValue'#0#0
|
+'ton'#19'PickNewColourButton'#4'Left'#3#216#0#6'Height'#2#25#3'Top'#3#208#0#5
|
||||||
+#6'TLabel'#10'CoordValue'#4'Left'#3'h'#1#6'Height'#2#14#3'Top'#2'`'#5'Width'
|
+'Width'#3#128#0#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#15'Pick '
|
||||||
+#2'8'#7'Caption'#6#10'CoordValue'#11'ParentColor'#8#0#0#6'TImage'#11'ColourI'
|
+'New Colour'#8'TabOrder'#2#3#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'h'#1#6'H'
|
||||||
+'mage'#4'Left'#3#152#0#6'Height'#2#24#3'Top'#3#209#0#5'Width'#2'8'#0#0#7'TBu'
|
+'eight'#2#21#3'Top'#2'8'#5'Width'#2'p'#7'Anchors'#11#5'akTop'#7'akRight'#0#8
|
||||||
+'tton'#8'OkButton'#4'Left'#3#136#1#6'Height'#2#24#3'Top'#3#209#0#5'Width'#2
|
+'ReadOnly'#9#8'TabOrder'#2#4#4'Text'#6#11'ColourValue'#0#0#6'TLabel'#10'Coor'
|
||||||
+'P'#7'Caption'#6#2'Ok'#7'OnClick'#7#13'OkButtonClick'#8'TabOrder'#2#5#0#0#0
|
+'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
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user