Exemple #1
0
 private void ClosePanel()
 {
     isOpen = false;
     UICommonTool.SetComponentState(ref _lbDescribe, false);
     SetLayOutElementHeight(minHeight);
     UICommonTool.SetComponentHeight(ref _imgBG, minHeight);
     UICommonTool.SetComponentY(ref _imgBG, minY);
 }
Exemple #2
0
            private void OpenPanel()
            {
                isOpen = true;
                UICommonTool.SetComponentState(ref _lbDescribe, true);
                float height = GetContextHeight();

                SetLayOutElementHeight(height);
                UICommonTool.SetComponentHeight(ref _imgBG, height);
                UICommonTool.SetComponentY(ref _imgBG, heightOffset - height / 2);
            }
Exemple #3
0
 private void ClosePanel()
 {
     isOpen = false;
     UICommonTool.SetComponentState(ref _lbDescribe, false);
     SetLayOutElementHeight(minHeight);
     UICommonTool.SetComponentHeight(ref _imgBG, minHeight);
     UICommonTool.SetComponentY(ref _imgBG, minY);
     this._lbDescribe.SetActiveEx(false);
     this._lbQuestionName.SetActiveEx(true);
 }
Exemple #4
0
            private void OpenPanel()
            {
                isOpen = true;
                UICommonTool.SetComponentState(ref _lbDescribe, true);
                float height = GetContextHeight();

                SetLayOutElementHeight(height);
                UICommonTool.SetComponentHeight(ref _imgBG, height);
                //UICommonTool.SetComponentY(ref _imgBG, heightOffset - height / 2);
                this._lbDescribe.SetActiveEx(true);
                this._lbQuestionName.SetActiveEx(false);
            }