Difference between revisions of "Cocoa Internals/Text Controls"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 4: Line 4:
 
===NSComboBox features===
 
===NSComboBox features===
 
* It doesn't like to be 29px or taller in height. The height is fixed to 26 pixels
 
* It doesn't like to be 29px or taller in height. The height is fixed to 26 pixels
* It doesn't like custom fonts (other than default) to be assigned to itself  (see [https://bugs.freepascal.org/view.php?id=33626 #33626]
+
* It doesn't like custom fonts (other than default) to be assigned to itself  (see [https://bugs.freepascal.org/view.php?id=33626 #33626])
 
[[image:cocoa combobox issue.png]]
 
[[image:cocoa combobox issue.png]]
  
 
[[Category:Cocoa]]
 
[[Category:Cocoa]]

Revision as of 07:31, 15 July 2018

ComboBox

Non-readonly ComboBox is implemented via NSComboBox type. Readonly combobox is implemented via NSPopupButton

NSComboBox features

  • It doesn't like to be 29px or taller in height. The height is fixed to 26 pixels
  • It doesn't like custom fonts (other than default) to be assigned to itself (see #33626)

cocoa combobox issue.png