Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3c536984
Kaydet (Commit)
3c536984
authored
Agu 17, 2013
tarafından
Siqi LIU
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
popover view when no WiFi interface is found for ex
Change-Id: Ib37fa00b58a1c4193b4181699e385dcb6502edac
üst
2ab48412
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
PopoverView.m
ios/iosremote/PopoverView.m
+2
-2
PopoverView_Configuration.h
ios/iosremote/PopoverView_Configuration.h
+6
-1
No files found.
ios/iosremote/PopoverView.m
Dosyayı görüntüle @
3c536984
...
...
@@ -158,7 +158,7 @@
-
(
void
)
showAtPoint
:
(
CGPoint
)
point
inView
:
(
UIView
*
)
view
withText
:
(
NSString
*
)
text
{
UIFont
*
font
=
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPad
?
kTextFontPad
:
kTextFontPhone
;
UIFont
*
font
=
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPad
?
k
Small
TextFontPad
:
kTextFontPhone
;
CGSize
screenSize
=
[
self
screenSize
];
CGSize
textSize
=
[
text
sizeWithFont
:
font
constrainedToSize
:
CGSizeMake
(
screenSize
.
width
-
kHorizontalMargin
*
4
.
f
,
1000
.
f
)
lineBreakMode
:
UILineBreakModeWordWrap
];
...
...
@@ -168,7 +168,7 @@
textView
.
userInteractionEnabled
=
NO
;
[
textView
setNumberOfLines
:
0
];
//This is so the label word wraps instead of cutting off the text
textView
.
font
=
font
;
textView
.
textAlignment
=
kTextAlignment
;
textView
.
textAlignment
=
kTextAlignment
Left
;
textView
.
textColor
=
kTextColor
;
textView
.
text
=
text
;
...
...
ios/iosremote/PopoverView_Configuration.h
Dosyayı görüntüle @
3c536984
...
...
@@ -53,7 +53,7 @@
// DIVIDERS BETWEEN VIEWS
//Bool that turns off/on the dividers
#define kShowDividersBetweenViews
NO
#define kShowDividersBetweenViews
YES
//color for the divider fill
#define kDividerColor [UIColor colorWithRed:0.329 green:0.341 blue:0.353 alpha:0.15f]
...
...
@@ -88,6 +88,8 @@
//normal text font
#define kTextFontPad [UIFont fontWithName:@"HelveticaNeue" size:20.f]
#define kSmallTextFontPad [UIFont fontWithName:@"HelveticaNeue" size:16.f]
//normal text color
#define kTextColor [UIColor colorWithRed:0.329 green:0.341 blue:0.353 alpha:1]
// highlighted text color
...
...
@@ -96,6 +98,9 @@
//normal text alignment
#define kTextAlignment UITextAlignmentCenter
//normal text alignment
#define kTextAlignmentLeft UITextAlignmentLeft
//title font
#define kTitleFontPhone [UIFont fontWithName:@"HelveticaNeue-Bold" size:16.f]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment