Commit Graph

227 Commits

Author SHA1 Message Date
juha
534586feff LCL-Gtk2: Fix text selection in TEdit and TMemo. Issue #32630, patch from accorp.
git-svn-id: trunk@56287 -
2017-11-05 21:47:58 +00:00
michl
3705e5904a LCL: GTK2: Fixed Cannot hide TBitBtn, TFloatSpinEdit, TListBox, TCheckListBox, TMemo, TListView from TForm.OnCreate after HandleNeeded. Issue #32527
git-svn-id: trunk@56148 -
2017-10-22 21:01:39 +00:00
michl
e34b72f9d9 LCL: GTK2: Fixed set TPanel visible to false on non visual TabSheet doesn't work. Issue #32593
git-svn-id: trunk@56140 -
2017-10-21 09:00:53 +00:00
michl
058c0d8e3a LCL: TComboBox: GTK2: Fixed KeyUp and KeyDown react like tab key after revision 55920 #c5e11a9e95. Issue #32458
git-svn-id: trunk@55979 -
2017-10-05 17:55:28 +00:00
michl
c5e11a9e95 LCL: GTK2: Fixed tab cannot go from combobox to combobox. Issue #32458
git-svn-id: trunk@55920 -
2017-09-25 18:13:09 +00:00
ondrej
c68b93c58e lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
juha
4245e9efae LCL-GTK2: Fix setting TComboBox ItemIndex. Issue #28683, patch from AlexeyT.
git-svn-id: trunk@53685 -
2016-12-14 16:44:21 +00:00
zeljko
39279083c5 Gtk2: unify TScrollbar behaviour with win32 and qt. issue #20127
git-svn-id: trunk@52154 -
2016-04-10 17:08:12 +00:00
juha
871f631591 LCL: Don't turn TScrollBar.Visible False when changing Kind property. AScrollBar.Show did not work due to flag tests. Issue #29422
git-svn-id: trunk@51361 -
2016-01-20 19:29:31 +00:00
zeljko
53498f8e4f Gtk2: fixed show/hide of TListBox. issue #28341
git-svn-id: trunk@49420 -
2015-06-23 14:36:20 +00:00
mattias
23f22ed784 LCL: gtk2: started fixing TGtk2WSCustomGroupBox.GetPreferredSize
git-svn-id: trunk@48432 -
2015-03-20 15:24:48 +00:00
zeljko
5b71531582 Gtk2: fixed TListBox with ItemIndex = -1 in lfm. issue #27276
git-svn-id: trunk@47330 -
2015-01-11 09:43:43 +00:00
zeljko
dd5ea6c1c7 Gtk2: fixed TCustomGroupBox descendants visibility when visible=false. issue #27116
git-svn-id: trunk@47058 -
2014-12-02 08:57:15 +00:00
bart
001b440270 LCL: use TFileStreamUtf8 for LoadFromFile/SaveToFile for Grids, TTextStrings, TWin32MemoStrings, TWinCEMemoStrings, TQtMemoStrings, TGtk2MemoStrings, TGtk3MemoStrings,
thus eliminating the need for Utf8ToSys() conversions.

git-svn-id: trunk@46777 -
2014-11-07 14:52:30 +00:00
zeljko
874f3994ff Gtk2: fixed memleak on TGtk2WSCustomStaticText. issue #26909
git-svn-id: trunk@46631 -
2014-10-21 11:54:08 +00:00
juha
e8fb5ea3fd LCL-GTK2: Take caption of an autosized GroupBox into account when calculating width. Issue #20447, patch from Henry Vermaak
git-svn-id: trunk@45786 -
2014-07-05 10:49:42 +00:00
mattias
7abd5e6276 LCL: gtk2: fixed uses section
git-svn-id: trunk@45601 -
2014-06-22 08:57:16 +00:00
mattias
b538b89c23 lcl: gtk2: less hints
git-svn-id: trunk@42290 -
2013-08-03 16:14:22 +00:00
zeljko
59f1dd3592 Gtk2: fixed itemheight with lbOwnerDrawFixed style of listbox. issue #24629
git-svn-id: trunk@41772 -
2013-06-21 06:22:30 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
ca39d63bd3 Gtk2: fixed keeping of SelStart() and SelLength().issue #23219
git-svn-id: trunk@39652 -
2012-12-25 10:25:04 +00:00
zeljko
f2be37ded9 Gtk2: small optimization
git-svn-id: trunk@39549 -
2012-12-15 12:11:06 +00:00
zeljko
7a137ce8d3 Gtk2: fixed changing of font color on GtkCheckBox. issue #23373
git-svn-id: trunk@39548 -
2012-12-15 12:09:17 +00:00
zeljko
a1a464b0e2 Gtk2: fixed font color changing on TCheckBox when caption is empty. issue #23373
git-svn-id: trunk@39371 -
2012-11-25 12:16:27 +00:00
zeljko
761837a477 Gtk2: fixed compilation
git-svn-id: trunk@39221 -
2012-11-01 15:55:53 +00:00
zeljko
da7550a5b0 Gtk2: check if scrollbar handle is allocated when setting params.
git-svn-id: trunk@39220 -
2012-11-01 15:44:32 +00:00
zeljko
a0224f784a Gtk2: remember selection when edit looses focus.Also preselect test when AutoSelect is true.Patch by Fabrizio Fellini modified by me for autoselect rule. fixes issues #23219,#23246
git-svn-id: trunk@39217 -
2012-11-01 08:27:48 +00:00
zeljko
a81d9e96aa Gtk2: fixed assertion from gtk2 library. issue #23099
git-svn-id: trunk@39035 -
2012-10-10 10:14:01 +00:00
blikblum
7185755781 gtk2: replace the deprecated gtk_object_get/set_data by g_object_get/set_data. part 2
git-svn-id: trunk@37752 -
2012-06-23 18:27:49 +00:00
mattias
1d8586a848 gtk2: clean up
git-svn-id: trunk@36791 -
2012-04-15 11:46:16 +00:00
mattias
2fd5ebfb38 gtk2: clean up
git-svn-id: trunk@36787 -
2012-04-15 10:59:36 +00:00
mattias
f7fbc97d3f gtk2: clean up
git-svn-id: trunk@36784 -
2012-04-15 01:45:34 +00:00
zeljko
eb25b3d5e7 Gtk2: delay SetSelLength if it's called from OnChange event of TCustomEdit.
git-svn-id: trunk@36086 -
2012-03-16 11:26:45 +00:00
zeljko
2ae4a52ad0 Gtk2: implemented Cut,Copy,Paste for WSCustomEdit (TCustomEdit & TCustomMemo).part of issues #9715 and #19106
git-svn-id: trunk@36081 -
2012-03-16 09:35:30 +00:00
zeljko
d734ac880e Gtk2: inform lcl when return pressed on GtkButton, so it can update internal varibles or properties. issue #21483
git-svn-id: trunk@36032 -
2012-03-15 13:29:13 +00:00
zeljko
290986b478 Gtk2: cleanup of spinedit code, also added proper cast when control is spinedit. Removed usage of PGtkOldEditable
git-svn-id: trunk@36019 -
2012-03-15 07:33:58 +00:00
zeljko
9f7ab89220 Gtk2: make selstart for GtkEntry setting consistent with other ws. issue #11802
git-svn-id: trunk@35596 -
2012-02-26 09:59:33 +00:00
zeljko
3389d8edaa Gtk2: fixed GetDroppedDown result for gtk2 < 2.10. Property "popup-shown" was introduced in gtk2 2.10, so anything below 2.10 doesn't work.
git-svn-id: trunk@35209 -
2012-02-07 09:16:49 +00:00
zeljko
8d96082dc1 Gtk2: fixed font changing on TCheckBox & TRadioButton
git-svn-id: trunk@35162 -
2012-02-05 16:33:05 +00:00
zeljko
c63431d8b0 Gtk2: fix accel char in TCheckBox and TRadioButton. issue #21048
git-svn-id: trunk@34673 -
2012-01-09 07:51:35 +00:00
blikblum
2d40e8a38c gtk2: update combo text only if has a edit box
git-svn-id: trunk@34414 -
2011-12-25 20:07:31 +00:00
zeljko
f84b0a0a4e Gtk2: fix inaccurate paint of checkbox and radiobutton when caption is empty. issue #20764
git-svn-id: trunk@34261 -
2011-12-18 18:17:53 +00:00
blikblum
b360e5a0bf gtk2: clear content of combobox when setting ItemIndex to -1
git-svn-id: trunk@34097 -
2011-12-10 21:41:49 +00:00
zeljko
7b99f8bda3 Gtk2: ability to change TGroupBox color.Patch by cobines, modified by me. fixes issue #20372
git-svn-id: trunk@33030 -
2011-10-22 19:10:21 +00:00
zeljko
acb9636064 Gtk2: TCustomEdit: added CellEditable hook, so it won't focus another control by pressing VK_UP or VK_DOWN. issue #11115
git-svn-id: trunk@31562 -
2011-07-04 18:30:57 +00:00
zeljko
7b6d0a6667 Gtk2: do not remove focus chain from combobox container, focusing by tab is fixed using another approach. issue #17662
git-svn-id: trunk@31560 -
2011-07-04 16:58:08 +00:00
zeljko
9d6ccb72d3 Gtk2: unset focus chain from combobox container, so it does not select combobox menu button when combobox is editable.
git-svn-id: trunk@31558 -
2011-07-04 16:32:18 +00:00
marco
6e953d396f * small fix that forces type of gtrue to longint. This makes lazarus compatible with both boolean32 based gboolean type (in FPC/trunk since r17923) while keeping compat with the old (longbool, which will remain in 2.4.x)
git-svn-id: trunk@31546 -
2011-07-03 20:39:13 +00:00
jesus
3e230c04f9 LCL, gtk/qt, fix scrollbar issues in customcontrols generated since r31447 #ab611393ae, from August Klein, issue #14728
git-svn-id: trunk@31483 -
2011-07-01 03:33:50 +00:00