Commit graph

440 commits

Author SHA1 Message Date
Gregory John Casamento
27e6f6b309 Add code to safeguard against crash when NSMatrix has no cells or the prototype is nil 2021-04-21 18:14:56 -04:00
Gregory John Casamento
eb0b0bfbe1 Fix all warnings in Gorm 2021-03-28 18:55:29 -04:00
Gregory John Casamento
cc3345990d Fix linker error due to same category name 2021-03-28 17:43:06 -04:00
Gregory John Casamento
01ed525ca7 Add new inspector for matrix cell size 2021-03-28 01:34:15 -04:00
Gregory John Casamento
b777e0e383 Revert use of fast enumeration 2021-03-10 01:49:46 -05:00
Gregory John Casamento
1335a20fa5 Fix issue horizontal and vertical resizable settings in Text View 2021-01-28 19:14:02 -05:00
Ahmed Khanzada
ab9810a771 Fixed grammatical error ("All Rights" -> "All rights") 2020-04-20 22:07:14 -07:00
Riccardo Mottola
b143ab112d Cast to NSProgressIndiciator so corret isVertical method is choosen by compiler. Add check before casting. 2020-04-14 12:30:34 +02:00
fredkiefer
fb3a4840e6 * GormCore/GormDocument.m: Remove NSNibConnector duplicating code in gui.
Use [-attachObjects:toParent:] and [-detachObjects:] more often.
2020-03-29 15:10:46 +02:00
Riccardo Mottola
ca6c1c71ef minor fix, gcc9 didn't like that declaration 2020-01-17 00:01:14 +01:00
Sergii Stoian
8ad8ce08a8
Merge branch 'master' into UsabilityEnhancements 2020-01-11 01:30:33 +02:00
Sergii Stoian
c301044e45 * Palettes/2Controls/ControlsPalette.gorm,
* Palettes/2Controls/GormNSFormInspector.gorm: update stepper size.
2020-01-10 18:51:49 +02:00
Sergii Stoian
4f94fd5872 * Palettes/2Controls/GormMatrixAttributesInspector.h,
* Palettes/2Controls/GormMatrixAttributesInspector.m (_displayObject:resize):
  move object refresh code here. Use it where it's appropriate.
* Palettes/2Controls/GormNSMatrixInspector.gorm: separate dimensions form into 2
  for rows and columns; add steppers again.
2020-01-10 18:44:27 +02:00
Sergii Stoian
4099c3d1ba * Palettes/2Controls/GormButtonEditor.m (gormTitleRectForFrame:inView:):
initialize `titleRect` to supress compiler warning.
2020-01-10 16:01:32 +02:00
Sergii Stoian
5b24e1289c * Palettes/2Controls/GormMatrixAttributesInspector.m: ehnanced redrawing of
object after dimension changes.
2020-01-10 10:52:30 +02:00
Sergii Stoian
b35b38b26a * Palettes/2Controls/GormNSBoxInspector.gorm: ticks to offset sliders were added; "Stop on ticks only" set. 2020-01-10 10:50:38 +02:00
Sergii Stoian
6a460bc582 * Palettes/2Controls/GormMatrixAttributesInspector.m: use ok: on end editing of
textfields objects.
  (ok:): update window content view on object's dimensions changes.
2020-01-09 03:15:50 +02:00
Sergii Stoian
540ce531df * Palettes/2Controls/GormButtonAttributesInspector.m (ok:): removed unused code. 2020-01-09 02:08:46 +02:00
Sergii Stoian
8b82a20794 * Palettes/2Controls/GormNSButtonInspector.gorm/objects.gorm:
added missed "Disclosure Round" bezel type to popup button.
2020-01-09 01:58:48 +02:00
Sergii Stoian
39af9e0b4c * Palettes/2Controls/GormButtonAttributesInspector.m
(buttonTypeForObject:): use NSMomentaryPushInButton for "Momentary Push" type.
  (rever:): use tag to select button type.
2020-01-09 01:57:43 +02:00
Sergii Stoian
4c915602dd * Palettes/2Controls/GormButtonAttributesInspector.m: fixed "Momentary Light"
button type value.
2020-01-08 18:42:13 +02:00
Sergii Stoian
2b4b6171e6 * Palettes/2Controls/GormMatrixAttributesInspector.m (ok:): preserve tag and
title of cells on "Match Prototype" button click.
2020-01-08 18:41:12 +02:00
Sergii Stoian
9fa040fcbc * Palettes/3Containers/GormTableViewAttributesInspector.m: apply changes only after editing has end. 2020-01-08 01:57:08 +02:00
Sergii Stoian
19f5483025 * Palettes/3Containers/GormNSTableViewInspector.gorm: tiny fix of inspector position. 2020-01-05 23:38:55 +02:00
Sergii Stoian
cc589096c7 * Palettes/4Data/GormNSDateFormatterInspector.gorm,
Palettes/4Data/GormNSNumberFormatterInspector.gorm: fixed size and positions of UI elements.
2020-01-05 23:03:59 +02:00
Sergii Stoian
30e8802532 * Palettes/2Controls/ControlsPalette.m (willInspectObject:): create "Prototype" mode only if selected object's prototype exists. 2020-01-05 04:10:56 +02:00
Sergii Stoian
e563abf1b3 * Palettes/2Controls/GormMatrixAttributesInspector.m (ok:): fixed "Match Prototype" action - make cells as copy of prototype, select first cell. 2020-01-05 03:53:41 +02:00
Sergii Stoian
bcd8491262 * Palettes/2Controls/GormMatrixAttributesInspector.m (revert:): update object in prototype matrix.
(ok:): implemented "Match Prototype" button action - recreates object's cells.
2020-01-05 03:20:17 +02:00
Sergii Stoian
6722945719 * Palettes/2Controls/GormButtonAttributesInspector.m (ok:), (revert:): adopt methods to be usable for objects with prototype. This inspector can be called in "Prototype" mode. 2020-01-05 03:17:37 +02:00
Sergii Stoian
cdb2814a8a * Palettes/2Controls/ControlsPalette.m: implement adding "Prototype" mode to Inspector's popup button for objects with prototype aavailable (mainly NSMatrix). 2020-01-05 03:15:09 +02:00
Sergii Stoian
a0702cd9cd * Palettes/2Controls/GormNSMatrixInspector.gorm: reestablish coonectiontion to action for "Match Prototype" button. 2020-01-05 03:13:22 +02:00
Sergii Stoian
441b52e3a1 * Palettes/2Controls/GormNSButtonInspector.gorm: set enabled and not selected state "Bordered" button. 2020-01-05 03:12:33 +02:00
Sergii Stoian
8720e67473 * Palettes/4Data/GormNSComboBoxInspector.gorm: fixed sizes and positions of elements. 2020-01-04 02:52:36 +02:00
Sergii Stoian
5bcdc44706 * GormCore/GormInspectorsManager.m (setCurrentInspector:): increase height of
inspector panel frame if inspector taller then previous; set minimum size
accordingly.
* Palettes/2Controls/GormNSMatrixInspector.gorm: made inspector content taller
to look better and as a test case for change in GorInspectorManager.
2020-01-04 02:01:36 +02:00
Sergii Stoian
e54c0fa607 * Palettes/2Controls/GormNSBoxInspector.gorm,
Palettes/2Controls/GormNSButtonInspector.gorm,
  Palettes/2Controls/GormNSCellInspector.gorm,
  Palettes/2Controls/GormNSColorWellInspector.gorm,
  Palettes/2Controls/GormNSMatrixInspector.gorm,
  Palettes/2Controls/GormNSPopUpButtonInspector.gorm,
  Palettes/2Controls/GormNSProgressIndicatorInspector.gorm,
  Palettes/2Controls/GormNSSliderInspector.gorm,
  Palettes/2Controls/GormNSStepperInspector.gorm,
  Palettes/2Controls/GormNSTextFieldInspector.gorm: sizing and positions fixes.
2019-12-28 00:41:32 +02:00
Sergii Stoian
0b548c2393 * Palettes/2Controls/GormNSFormInspector.gorm: sizes and positions cleanup and fix. 2019-12-27 19:26:30 +02:00
Sergii Stoian
1165a5c461 * Palettes/3Containers/GormNSBrowserInspector.gorm: fixed initial first responder. 2019-12-27 16:11:10 +02:00
Sergii Stoian
fc52b11a1d * Palettes/1Windows/GormNSWindowSizeInspector.gorm: fixed initial first responder. 2019-12-27 16:07:17 +02:00
Sergii Stoian
c1b62d10b0 * Palettes/1Windows/GormDrawerAttributesInspector.gorm: fixed autosizing. 2019-12-27 16:06:48 +02:00
Sergii Stoian
3d89795a63 * English.lproj/GormClassInspector.gorm,
* English.lproj/GormClassPanel.gorm,
* English.lproj/GormScrollViewAttributesInspector.gorm,
* English.lproj/GormSetName.gorm,
* English.lproj/GormSoundInspector.gorm,
* Palettes/4Data/GormNSImageViewInspector.gorm,
* Palettes/4Data/GormNSTextViewInspector.gorm: sizing and positioning fixes.
2019-12-27 15:50:29 +02:00
Sergii Stoian
69edc5c1ca * Palettes/3Containers/GormNSTableColumnInspector.gorm: fixed textfields height. 2019-12-27 12:41:31 +02:00
Sergii Stoian
6d9a5ae597 Merge branch 'UsabilityEnhancements' of https://github.com/gnustep/apps-gorm into UsabilityEnhancements 2019-12-27 11:02:31 +02:00
Sergii Stoian
00d3f7cdc7 * Palettes/3Containers/GormNSTableColumnSizeInspector.gorm: adjust sizing and position of elements. 2019-12-27 00:58:34 +02:00
Sergii Stoian
af08856fb8 * Palettes/3Containers/GormTableColumnSizeInspector.m: apply changes only after editing has end. 2019-12-27 00:57:51 +02:00
Sergii Stoian
5511a423fc * Palettes/3Containers/inspectors.m: added missed method to return table column sizer class. 2019-12-27 00:56:45 +02:00
Sergii Stoian
6dd329c4c5 * Palettes/3Containers/GormNSTableViewInspector.gorm: fxed sizing and positioning; rearrange inspector elements. 2019-12-26 19:29:03 +02:00
Sergii Stoian
22d493e306 * Palettes/3Containers/GormNSTableColumnInspector.gorm: fxed sizing and positioning; rearrange inspector elements. 2019-12-26 19:28:36 +02:00
Sergii Stoian
156eec4d4c * Palettes/3Containers/GormNSBrowserInspector.gorm/objects.gorm: fixed vertical offset of option butttons. 2019-12-26 19:24:47 +02:00
Sergii Stoian
570ee6cbba * Palettes/3Containers/GormBrowserAttributesInspector.m (ok:): reduce number of digits of fraction part to 2.
* Palettes/3Containers/GormNSBrowserInspector.gorm: fixed sizing and postioning; remove delegate from textfields - attribute is set only after user finished editing (pressed Return or Tab key).
2019-12-26 15:15:22 +02:00
Sergii Stoian
f2186a6ee6 * Palettes/1Windows:
Window Attributes Inspecor:
- Fixed size, postion and autosizing of elements.
- "Autosave Name" form was moved into "Window Size Inspector".
- "Minwindow Icon Name": removed clear button, form converted into texfield.
Window Size Inspector:
- "Size" form was splitted into 2 forms to place them horizontally.
- "Size" group was renamed into "Frame".
- "Autosave Name" form was added and converted into textfield.
- Fixed size, postion and autosizing of elements.

NOTE: "Autosave Name" field is not saved into model file - is not encoded?
2019-12-26 13:50:15 +02:00