File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
internal/compiler/widgets/cupertino Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,16 @@ export component ComboBox {
105105 accessible-role: none;
106106 }
107107
108- VerticalLayout {
109- alignment: center;
108+ Rectangle {
109+ min-width: 16px ;
110+ preferred-width: button-layout.preferred-width;
111+ min-height: 16px ;
112+ horizontal-stretch: 0 ;
110113
111114 Rectangle {
112- horizontal-stretch: 0 ;
113- min- width: 16px ;
114- min-height: max( self .min-width, button-layout.min- height);
115+ x: 0px ;
116+ width: 100% ;
117+ y: ( parent .height - self . height) / 2 ;
115118
116119 if root .enabled : Rectangle {
117120 width: 100% ;
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ export component TestCase inherits Window {
2121 }
2222 }
2323
24+ if false : Rectangle {
25+ test-no-loop := ComboBox {
26+ width : 10 * self .height; // Test that there is no height for width dependency (loop)
27+ }
28+ }
29+
2430 public function unfocus () {
2531 box.clear-focus ();
2632 }
You can’t perform that action at this time.
0 commit comments