Christoph Thiede uploaded a new version of PreferenceBrowser to project The Inbox:
http://source.squeak.org/inbox/PreferenceBrowser-ct.102.mcz ==================== Summary ==================== Name: PreferenceBrowser-ct.102 Author: ct Time: 6 January 2020, 2:57:26.826782 pm UUID: 2e5ffc46-54e7-1e4d-acce-426c986308ed Ancestors: PreferenceBrowser-mt.98 Really minor UI improvements of PB button row =============== Diff against PreferenceBrowser-mt.98 =============== Item was changed: ----- Method: PreferenceBrowserMorph>>basicButton (in category 'submorphs - buttons') ----- basicButton ^ PluggableButtonMorph new model: self model; offColor: self paneColor; hResizing: #spaceFill; + vResizing: #spaceFill; layoutInset: 4; yourself! Item was changed: ----- Method: PreferenceBrowserMorph>>buttonRowLayoutFrame (in category 'submorphs - buttons') ----- buttonRowLayoutFrame + ^LayoutFrame + fractions: (0 @ 0 corner: 1 @ 0) + offsets: (0 @ 0 corner: 0 @ (TextStyle defaultFont height * 2))! - ^LayoutFrame fractions: (0@0 corner: 1@0) offsets: (0@0 corner: 0@ (TextStyle defaultFont height * 2.5))! Item was changed: ----- Method: PreferenceBrowserMorph>>newSeparator (in category 'submorphs - buttons') ----- newSeparator ^BorderedMorph new borderWidth: 2; borderColor: Color transparent; + color: (self basicButton borderColor alpha: 0.8); - color: self paneColor; hResizing: #rigid; width: 5; vResizing: #spaceFill; yourself! |
Before:
After:
Best,
Christoph
Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Montag, 6. Januar 2020 14:57:28 An: [hidden email] Betreff: [squeak-dev] The Inbox: PreferenceBrowser-ct.102.mcz Christoph Thiede uploaded a new version of PreferenceBrowser to project The Inbox:
http://source.squeak.org/inbox/PreferenceBrowser-ct.102.mcz ==================== Summary ==================== Name: PreferenceBrowser-ct.102 Author: ct Time: 6 January 2020, 2:57:26.826782 pm UUID: 2e5ffc46-54e7-1e4d-acce-426c986308ed Ancestors: PreferenceBrowser-mt.98 Really minor UI improvements of PB button row =============== Diff against PreferenceBrowser-mt.98 =============== Item was changed: ----- Method: PreferenceBrowserMorph>>basicButton (in category 'submorphs - buttons') ----- basicButton ^ PluggableButtonMorph new model: self model; offColor: self paneColor; hResizing: #spaceFill; + vResizing: #spaceFill; layoutInset: 4; yourself! Item was changed: ----- Method: PreferenceBrowserMorph>>buttonRowLayoutFrame (in category 'submorphs - buttons') ----- buttonRowLayoutFrame + ^LayoutFrame + fractions: (0 @ 0 corner: 1 @ 0) + offsets: (0 @ 0 corner: 0 @ (TextStyle defaultFont height * 2))! - ^LayoutFrame fractions: (0@0 corner: 1@0) offsets: (0@0 corner: 0@ (TextStyle defaultFont height * 2.5))! Item was changed: ----- Method: PreferenceBrowserMorph>>newSeparator (in category 'submorphs - buttons') ----- newSeparator ^BorderedMorph new borderWidth: 2; borderColor: Color transparent; + color: (self basicButton borderColor alpha: 0.8); - color: self paneColor; hResizing: #rigid; width: 5; vResizing: #spaceFill; yourself!
Carpe Squeak!
|
Free forum by Nabble | Edit this page |